https://github.com/torvalds/linux
Revision ba69994a40b242bef26ab2683ea84aa29e2e429f authored by Ilya Dryomov on 03 November 2013, 17:06:40 UTC, committed by Chris Mason on 21 November 2013, 01:42:11 UTC
__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 <idryomov@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
1 parent 908960c
History
Tip revision: ba69994a40b242bef26ab2683ea84aa29e2e429f authored by Ilya Dryomov on 03 November 2013, 17:06:40 UTC
Btrfs: fix __btrfs_start_workers retval
Tip revision: ba69994
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.0 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 258.3 KB
Makefile -rw-r--r-- 47.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top