]> err.no Git - linux-2.6/blobdiff - kernel/module.c
ext3: lighten up resize transaction requirements
[linux-2.6] / kernel / module.c
index c24c3c35405affd35c3e4dc9b823b89bbb9dadb1..a389b423c279dcb6e5f2b94ffcf56e534b06875e 100644 (file)
@@ -1881,7 +1881,8 @@ static struct module *load_module(void __user *umod,
        module_unload_init(mod);
 
        /* Initialize kobject, so we can reference it. */
-       if (mod_sysfs_init(mod) != 0)
+       err = mod_sysfs_init(mod);
+       if (err)
                goto cleanup;
 
        /* Set up license info based on the info section */