diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index fd216d9369faaa365bd72d53875898a3ee8103fd..dd6676b446f654cb6ce6140a68c5c265432cd4d9 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -2466,8 +2466,8 @@ int open_ctree(struct super_block *sb, if (!(sb->s_flags & MS_RDONLY)) { ret = btrfs_cleanup_fs_roots(fs_info); - if (ret) { - } + if (ret) + goto fail_trans_kthread; ret = btrfs_recover_relocation(tree_root); if (ret < 0) {