diff options
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/disk-io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 37e12f620392..0d8ccd625ba2 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -1739,13 +1739,13 @@ struct btrfs_root *open_ctree(struct super_block *sb, | |||
1739 | fs_info->system_alloc_profile = fs_info->metadata_alloc_profile; | 1739 | fs_info->system_alloc_profile = fs_info->metadata_alloc_profile; |
1740 | fs_info->cleaner_kthread = kthread_run(cleaner_kthread, tree_root, | 1740 | fs_info->cleaner_kthread = kthread_run(cleaner_kthread, tree_root, |
1741 | "btrfs-cleaner"); | 1741 | "btrfs-cleaner"); |
1742 | if (!fs_info->cleaner_kthread) | 1742 | if (IS_ERR(fs_info->cleaner_kthread)) |
1743 | goto fail_csum_root; | 1743 | goto fail_csum_root; |
1744 | 1744 | ||
1745 | fs_info->transaction_kthread = kthread_run(transaction_kthread, | 1745 | fs_info->transaction_kthread = kthread_run(transaction_kthread, |
1746 | tree_root, | 1746 | tree_root, |
1747 | "btrfs-transaction"); | 1747 | "btrfs-transaction"); |
1748 | if (!fs_info->transaction_kthread) | 1748 | if (IS_ERR(fs_info->transaction_kthread)) |
1749 | goto fail_cleaner; | 1749 | goto fail_cleaner; |
1750 | 1750 | ||
1751 | if (btrfs_super_log_root(disk_super) != 0) { | 1751 | if (btrfs_super_log_root(disk_super) != 0) { |