summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index b1d2a42f379..b915d7704f1 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1999,11 +1999,11 @@ static int __init init_btrfs_fs(void)
err = btrfs_prelim_ref_init();
if (err)
- goto free_prelim_ref;
+ goto free_delayed_ref;
err = btrfs_interface_init();
if (err)
- goto free_delayed_ref;
+ goto free_prelim_ref;
btrfs_init_lockdep();