Ilya Dryomov ba69994a40 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 <idryomov@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
2013-11-20 20:42:11 -05:00
..
2013-11-11 22:02:51 -05:00
2013-11-15 09:18:14 -05:00
2013-06-29 12:57:00 +04:00
2013-11-11 22:10:36 -05:00
2013-11-11 22:03:19 -05:00
2008-09-25 11:04:06 -04:00
2012-10-09 09:14:45 -04:00
2013-11-15 09:18:14 -05:00
2013-09-01 08:16:32 -04:00
2013-03-14 14:57:10 -04:00
2013-11-11 21:57:30 -05:00
2013-11-11 22:03:19 -05:00
2013-02-01 14:24:23 -05:00
2013-11-11 22:11:26 -05:00
2012-10-09 09:19:57 -04:00