aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorIlya Dryomov <[email protected]>2013-11-03 17:06:40 +0000
committerChris Mason <[email protected]>2013-11-21 01:42:11 +0000
commitba69994a40b242bef26ab2683ea84aa29e2e429f (patch)
tree9a2b0597ce5668821472606355f41cee8fd10f05 /fs/btrfs/dev-replace.c
parentBtrfs: disable online raid-repair on ro mounts (diff)
downloadkernel-ba69994a40b242bef26ab2683ea84aa29e2e429f.tar.gz
kernel-ba69994a40b242bef26ab2683ea84aa29e2e429f.zip
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 <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions