RETURN(rc);
}
+static struct lprocfs_vars lprocfs_ost_obd_vars[] = { {0} };
+static struct lprocfs_vars lprocfs_ost_module_vars[] = { {0} };
+LPROCFS_INIT_VARS(ost, lprocfs_ost_module_vars, lprocfs_ost_obd_vars)
+
static int llog_test_attach(struct obd_device *dev, obd_count len, void *data)
{
struct lprocfs_static_vars lvars;
};
+static struct lprocfs_vars lprocfs_obd_vars[] = { {0} };
+static struct lprocfs_vars lprocfs_module_vars[] = { {0} };
+LPROCFS_INIT_VARS(llog_test, lprocfs_module_vars, lprocfs_obd_vars)
+
static int __init llog_test_init(void)
{
struct lprocfs_static_vars lvars;
- lprocfs_init_multi_vars(0, &lvars);
+ lprocfs_init_vars(llog_test, &lvars);
return class_register_type(&llog_obd_ops,lvars.module_vars,"llog_test");
}
cleanup_phase = 2;
down(&inode->i_sem);
- oti->oti_handle = fsfilt_brw_start(obd, objcount, &fso, niocount, oti);
+ oti->oti_handle = fsfilt_brw_start(obd, objcount, &fso, niocount, res,
+ oti);
if (IS_ERR(oti->oti_handle)) {
rc = PTR_ERR(oti->oti_handle);
CDEBUG(rc == -ENOSPC ? D_INODE : D_ERROR,