Whamcloud - gitweb
b=14512
[fs/lustre-release.git] / lustre / quota / quotactl_test.c
index 92ada91..cffb646 100644 (file)
@@ -80,7 +80,7 @@ static int quotactl_test_2(struct obd_device *obd, struct super_block *sb)
         RETURN(0);
 }
 #endif
-       
+
 /* Test set/getquota */
 static int quotactl_test_3(struct obd_device *obd, struct super_block *sb)
 {
@@ -294,10 +294,9 @@ static int quotactl_test_cleanup(struct obd_device *obd)
         return 0;
 }
 
-static int quotactl_test_setup(struct obd_device *obd, obd_count len, void *buf)
+static int quotactl_test_setup(struct obd_device *obd, struct lustre_cfg *lcfg)
 {
         struct lprocfs_static_vars lvars;
-        struct lustre_cfg *lcfg = buf;
         struct obd_device *tgt;
         int rc;
         ENTRY;
@@ -341,8 +340,8 @@ static int __init quotactl_test_init(void)
         struct lprocfs_static_vars lvars;
 
         lprocfs_init_vars(quotactl_test, &lvars);
-        return class_register_type(&quotactl_obd_ops, lvars.module_vars,
-                                   "quotactl_test");
+        return class_register_type(&quotactl_obd_ops, NULL, lvars.module_vars,
+                                   "quotactl_test", NULL);
 }
 
 static void __exit quotactl_test_exit(void)