commit | d2979aa25fc8de6498d906ae6b46b028457d6400 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Tue Aug 27 15:40:45 2019 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Sep 09 14:59:14 2019 +0200 |
tree | 8eec1aae38c552cc0d6f268e550baf4a42fd3252 | |
parent | a06dee4d7eb67c35e7b7da0b84216424d60a87d3 [diff] |
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>