From: Ilya Dryomov Date: Sun, 3 Nov 2013 17:06:40 +0000 (+0200) Subject: Btrfs: fix __btrfs_start_workers retval X-Git-Tag: v3.13-rc1~13^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba69994a40b242bef26ab2683ea84aa29e2e429f;p=pandora-kernel.git Btrfs: fix __btrfs_start_workers retval __btrfs_start_workers returns 0 in case it raced with btrfs_stop_workers and lost the race. This is wrong because worker in this case is not allowed to start and is in fact destroyed. Return -EINVAL instead. Signed-off-by: Ilya Dryomov Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed