aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2019-08-27 07:40:45 +0000
committerDavid Sterba <[email protected]>2019-09-09 12:59:14 +0000
commitd2979aa25fc8de6498d906ae6b46b028457d6400 (patch)
tree8eec1aae38c552cc0d6f268e550baf4a42fd3252 /fs/btrfs/dev-replace.c
parentbtrfs: proper error handling when invalid device is found in find_next_devid (diff)
downloadkernel-d2979aa25fc8de6498d906ae6b46b028457d6400.tar.gz
kernel-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 <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions