Skip to content
Commit d2979aa2 authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

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: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: default avatarNikolay Borisov <nborisov@suse.com>
Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent a06dee4d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment