X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Fbtrfs%2Fasync-thread.c;h=c1e0b0caf9cc975c2822cadf9aaaf0c1454dcf91;hb=62a3a12667ac551c0251d6437372c34a98dd991c;hp=8aec751fa464c126a7fd80e21b526692896d98c9;hpb=cf969677945e6e19810d616873617320da002e32;p=cascardo%2Flinux.git diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c index 8aec751fa464..c1e0b0caf9cc 100644 --- a/fs/btrfs/async-thread.c +++ b/fs/btrfs/async-thread.c @@ -495,6 +495,7 @@ static int __btrfs_start_workers(struct btrfs_workers *workers) spin_lock_irq(&workers->lock); if (workers->stopping) { spin_unlock_irq(&workers->lock); + ret = -EINVAL; goto fail_kthread; } list_add_tail(&worker->worker_list, &workers->idle_list);