f2fs: Provide a splice-read wrapper
[linux-block.git] / fs / orangefs / orangefs-mod.c
index cd7297815f91ec7fd49bafa02d5e70c22cf39ebb..5ab741c60b7e291b6a071e5d8028e1aaa7687a6b 100644 (file)
@@ -141,7 +141,7 @@ static int __init orangefs_init(void)
                gossip_err("%s: could not initialize device subsystem %d!\n",
                           __func__,
                           ret);
-               goto cleanup_device;
+               goto cleanup_sysfs;
        }
 
        ret = register_filesystem(&orangefs_fs_type);
@@ -152,11 +152,11 @@ static int __init orangefs_init(void)
                goto out;
        }
 
-       orangefs_sysfs_exit();
-
-cleanup_device:
        orangefs_dev_cleanup();
 
+cleanup_sysfs:
+       orangefs_sysfs_exit();
+
 sysfs_init_failed:
        orangefs_debugfs_cleanup();