aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2019-08-27 15:40:45 +0800
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:14 +0200
commitd2979aa25fc8de6498d906ae6b46b028457d6400 (patch)
tree8eec1aae38c552cc0d6f268e550baf4a42fd3252 /fs/btrfs/ctree.h
parentbtrfs: proper error handling when invalid device is found in find_next_devid (diff)
downloadlinux-dev-d2979aa25fc8de6498d906ae6b46b028457d6400.tar.xz
linux-dev-d2979aa25fc8de6498d906ae6b46b028457d6400.zip
btrfs: use proper error values on allocation failure in clone_fs_devices
Fix the fake ENOMEM return error code to the actual error in clone_fs_devices(). Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions