From f466cc1b6d27168e05355a1b7aff2717ae5e7ce0 Mon Sep 17 00:00:00 2001 From: Qinghuang Feng Date: Wed, 21 Jan 2009 10:49:16 -0500 Subject: [PATCH] --- yaml --- r: 131037 b: refs/heads/master c: 57506d50ed6db7b0e7ddc9845e86e81f140983d5 h: refs/heads/master i: 131035: fe666ee6fd632e58fb346baa6dd08af430ca18ec v: v3 --- [refs] | 2 +- trunk/fs/btrfs/disk-io.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index a758da08d19d..c0102b56911a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 119e10cf1b2f6a6cafff74f32373d631489f54c2 +refs/heads/master: 57506d50ed6db7b0e7ddc9845e86e81f140983d5 diff --git a/trunk/fs/btrfs/disk-io.c b/trunk/fs/btrfs/disk-io.c index 37e12f620392..0d8ccd625ba2 100644 --- a/trunk/fs/btrfs/disk-io.c +++ b/trunk/fs/btrfs/disk-io.c @@ -1739,13 +1739,13 @@ struct btrfs_root *open_ctree(struct super_block *sb, fs_info->system_alloc_profile = fs_info->metadata_alloc_profile; fs_info->cleaner_kthread = kthread_run(cleaner_kthread, tree_root, "btrfs-cleaner"); - if (!fs_info->cleaner_kthread) + if (IS_ERR(fs_info->cleaner_kthread)) goto fail_csum_root; fs_info->transaction_kthread = kthread_run(transaction_kthread, tree_root, "btrfs-transaction"); - if (!fs_info->transaction_kthread) + if (IS_ERR(fs_info->transaction_kthread)) goto fail_cleaner; if (btrfs_super_log_root(disk_super) != 0) {