return obd_llog_finish(cobd_obd, &cobd_obd->obd_llogs, count);
}
-static int cobd_notify(struct obd_device *obd,
- struct obd_device *watched,
- int active)
+static int cobd_notify(struct obd_device *obd, struct obd_device *watched,
+ int active, void *data)
{
struct obd_export *cobd_exp;
cobd_exp = cobd_get_exp(obd);
- return obd_notify(class_exp2obd(cobd_exp), watched, active);
+ return obd_notify(class_exp2obd(cobd_exp), watched, active, data);
}
static int cobd_pin(struct obd_export *exp, obd_id ino, __u32 gen,
cb_data);
}
-static int cobd_md_intent_lock(struct obd_export *exp, struct ll_uctxt *uctxt,
+static int cobd_md_intent_lock(struct obd_export *exp,
struct ll_fid *pfid, const char *name, int len,
void *lmm, int lmmsize,
struct ll_fid *cfid, struct lookup_intent *it,
return -EINVAL;
}
cobd_exp = cobd_get_exp(obd);
- return md_intent_lock(cobd_exp, uctxt, pfid, name, len, lmm, lmmsize,
+ return md_intent_lock(cobd_exp, pfid, name, len, lmm, lmmsize,
cfid, it, lookup_flags, reqp, cb_blocking);
}