* GPL HEADER END
*/
/*
- * Copyright (c) 2014, Intel Corporation.
+ * Copyright (c) 2015, Intel Corporation.
*/
/*
* lustre/lod/lod_sub_object.c
LASSERT(lgh != NULL);
- rc = llog_cat_init_and_process(env, lgh);
+ rc = llog_init_handle(env, lgh, LLOG_F_IS_CAT, NULL);
if (rc != 0)
GOTO(out_close, rc);
ctxt->loc_handle = lgh;
- CDEBUG(D_INFO, "%s: Init llog for %d - catid "DOSTID":%x\n",
- obd->obd_name, index, POSTID(&cid->lci_logid.lgl_oi),
+ CDEBUG(D_INFO, "%s: init llog for index %d - catid "DFID":%x\n",
+ obd->obd_name, index, PFID(&cid->lci_logid.lgl_oi.oi_fid),
cid->lci_logid.lgl_ogen);
out_close:
if (rc != 0)