btrfs: propagate failures of __exclude_logged_extent to upper caller
authorGu Jinxiang <gujx@cn.fujitsu.com>
Tue, 22 May 2018 09:46:51 +0000 (17:46 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 29 May 2018 16:12:58 +0000 (18:12 +0200)
commitb89311efe60d47f8fc23b6f027c6b3f30067c93e
tree7bb01f3ed4075d17620e95b757f17002f75751fe
parentd4b20733d203eea307986bd0502ba8d54afc2891
btrfs: propagate failures of __exclude_logged_extent to upper caller

Function btrfs_exclude_logged_extents may call __exclude_logged_extent
which may fail.
Propagate the failures of __exclude_logged_extent to upper caller.

Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c