]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: return btrfs error code for dev excl ops err
authorAnand Jain <Anand.Jain@oracle.com>
Wed, 21 Aug 2013 03:44:48 +0000 (11:44 +0800)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:16:35 +0000 (08:16 -0400)
commitb77b43d478292779606a92be890782489e501445
tree463e2063f9208bc9b243a9b298cdf7c44781ffb0
parent0c3230570d89352d4f6f25d85f9b057b4901ac33
btrfs: return btrfs error code for dev excl ops err

now threads can return BTRFS_ERROR_DEV_EXCL_RUN_IN_PROGRESS
as defined in btrfs.h for the dev excl operation error in
the FS, which means with this kernel would stop logging
(almost an user error) into the /var/log/messages

v2: accepts Josef' comment

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ioctl.c