X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fquota%2Fquotactl_test.c;h=cffb64629405be3d6c973361f28a4a7ae429cf5e;hb=39eabbad40b25b1950ae21c9ba72e8de4098565b;hp=92ada918b407dd102f4650c5f222d064d6f20356;hpb=113303973ec9f8484eb2355a1a6ef3c4c7fd6a56;p=fs%2Flustre-release.git diff --git a/lustre/quota/quotactl_test.c b/lustre/quota/quotactl_test.c index 92ada91..cffb646 100644 --- a/lustre/quota/quotactl_test.c +++ b/lustre/quota/quotactl_test.c @@ -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("actl_obd_ops, lvars.module_vars, - "quotactl_test"); + return class_register_type("actl_obd_ops, NULL, lvars.module_vars, + "quotactl_test", NULL); } static void __exit quotactl_test_exit(void)