if (!idarray)
GOTO(release_ctxt, rc = -ENOMEM);
- mutex_down(&obd->obd_olg.olg_cat_processing);
- rc = llog_get_cat_list(obd, obd, name, 0, count, idarray);
+ cfs_mutex_down(&obd->obd_olg.olg_cat_processing);
+ rc = llog_get_cat_list(obd, name, 0, count, idarray);
if (rc)
GOTO(out_free, rc);
out_pop:
pop_ctxt(&saved, &ctxt->loc_exp->exp_obd->obd_lvfs_ctxt, NULL);
out_free:
- mutex_up(&obd->obd_olg.olg_cat_processing);
+ cfs_mutex_up(&obd->obd_olg.olg_cat_processing);
OBD_VFREE(idarray, size);
release_ctxt:
llog_ctxt_put(ctxt);