/* When this (destroy) operation is committed, return the cancel cookie */
void filter_cancel_cookies_cb(struct obd_device *obd, __u64 transno,
- void *cb_data, int error)
+ void *cb_data, int error)
{
struct llog_cookie *cookie = cb_data;
struct obd_llogs *llogs = NULL;
if (llogs) {
ctxt = llog_get_context(llogs, cookie->lgc_subsys + 1);
if (ctxt) {
- llog_cancel(ctxt, NULL, 1, cookie, 0);
+ llog_cancel(ctxt, 1, cookie, 0, NULL);
} else
CERROR("no valid context for group "LPU64"\n",
cookie->lgc_lgl.lgl_ogr);
else
rc = LLOG_PROC_BREAK;
CWARN("fetch generation log, send cookie\n");
- llog_cancel(ctxt, NULL, 1, &cookie, 0);
+ llog_cancel(ctxt, 1, &cookie, 0, NULL);
RETURN(rc);
}
obdo_free(oa);
if (rc == -ENOENT) {
CDEBUG(D_HA, "object already removed, send cookie\n");
- llog_cancel(ctxt, NULL, 1, &cookie, 0);
+ llog_cancel(ctxt, 1, &cookie, 0, NULL);
RETURN(0);
}