Skip to content
Snippets Groups Projects
Commit 55f1bc22 authored by Mike Shaver's avatar Mike Shaver
Browse files

fix some lprocfs rot, b=1732, r=phik

parent 3c70eec5
No related branches found
No related tags found
No related merge requests found
......@@ -191,11 +191,15 @@ static struct obd_ops ptlbd_cl_obd_ops = {
o_disconnect: ptlbd_cl_disconnect,
};
static struct lprocfs_vars lprocfs_obd_vars[] = { {0} };
static struct lprocfs_vars lprocfs_module_vars[] = { {0} };
LPROCFS_INIT_VARS(ptlbd_cl, lprocfs_module_vars, lprocfs_obd_vars)
int ptlbd_cl_init(void)
{
struct lprocfs_static_vars lvars;
lprocfs_init_vars(ptlbd,&lvars);
lprocfs_init_vars(ptlbd_cl,&lvars);
return class_register_type(&ptlbd_cl_obd_ops, lvars.module_vars,
OBD_PTLBD_CL_DEVICENAME);
}
......
......@@ -98,11 +98,15 @@ static struct obd_ops ptlbd_sv_obd_ops = {
o_disconnect: class_disconnect,
};
static struct lprocfs_vars lprocfs_obd_vars[] = { {0} };
static struct lprocfs_vars lprocfs_module_vars[] = { {0} };
LPROCFS_INIT_VARS(ptlbd_sv, lprocfs_module_vars, lprocfs_obd_vars)
int ptlbd_sv_init(void)
{
struct lprocfs_static_vars lvars;
lprocfs_init_vars(ptlbd,&lvars);
lprocfs_init_vars(ptlbd_sv,&lvars);
return class_register_type(&ptlbd_sv_obd_ops, lvars.module_vars,
OBD_PTLBD_SV_DEVICENAME);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment