Whamcloud - gitweb
init procfs correctly
authortappro <tappro>
Fri, 7 Apr 2006 14:25:56 +0000 (14:25 +0000)
committertappro <tappro>
Fri, 7 Apr 2006 14:25:56 +0000 (14:25 +0000)
lustre/osd/osd_handler.c

index 80fb894..d2ea242 100644 (file)
@@ -47,9 +47,6 @@
 /* class_register_type(), class_unregister_type(), class_get_type() */
 #include <linux/obd_class.h>
 
-
-#include <linux/lu_object.h>
-
 #include "osd_internal.h"
 
 static int   lu_device_is_osd  (const struct lu_device *d);
@@ -281,6 +278,8 @@ static struct obd_ops osd_obd_device_ops = {
         .o_owner = THIS_MODULE
 };
 
+LPROCFS_INIT_VARS(osd, lprocfs_osd_module_vars, lprocfs_osd_obd_vars);
+
 static int __init osd_mod_init(void)
 {
         struct lprocfs_static_vars lvars;