]> err.no Git - linux-2.6/blobdiff - kernel/params.c
[XFS] The last argument "lsn" of xfs_trans_commit() is always called with
[linux-2.6] / kernel / params.c
index 1fc4ac746cd8b7c5f9fd9310741beee1397f8c9b..312172320b4ccc8e76959cda55b2852ecfee6f82 100644 (file)
@@ -691,6 +691,7 @@ static struct kset_uevent_ops module_uevent_ops = {
 };
 
 decl_subsys(module, &module_ktype, &module_uevent_ops);
+int module_sysfs_initialized;
 
 static struct kobj_type module_ktype = {
        .sysfs_ops =    &module_sysfs_ops,
@@ -709,6 +710,7 @@ static int __init param_sysfs_init(void)
                        __FILE__, __LINE__, ret);
                return ret;
        }
+       module_sysfs_initialized = 1;
 
        param_sysfs_builtin();