]> git.karo-electronics.de Git - linux-beck.git/commitdiff
btrfs: Drop stray check of fixup_workers creation
authorAndrey Utkin <andrey.krieger.utkin@gmail.com>
Sat, 9 Aug 2014 11:51:15 +0000 (14:51 +0300)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:03 +0000 (13:38 -0700)
The issue was introduced in a79b7d4b3e8118f265dcb4bdf9a572c392f02708,
adding allocation of extent_workers, so this stray check is surely not
meant to be a check of something else.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=82021
Reported-by: Maks Naumov <maksqwe1@ukr.net>
Signed-off-by: Andrey Utkin <andrey.krieger.utkin@gmail.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/disk-io.c

index d14847d05f31a789564705e43c0539b81b335caa..38b29555354451dd044f3b525a9607a823fdb3ab 100644 (file)
@@ -2601,7 +2601,7 @@ int open_ctree(struct super_block *sb,
              fs_info->endio_freespace_worker && fs_info->rmw_workers &&
              fs_info->caching_workers && fs_info->readahead_workers &&
              fs_info->fixup_workers && fs_info->delayed_workers &&
-             fs_info->fixup_workers && fs_info->extent_workers &&
+             fs_info->extent_workers &&
              fs_info->qgroup_rescan_workers)) {
                err = -ENOMEM;
                goto fail_sb_buffer;