btrfs: csum_tree_block: return proper errno value
authorAlex Lyakas <alex.bolshoy@gmail.com>
Thu, 10 Mar 2016 11:09:46 +0000 (13:09 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 22 Mar 2016 09:07:43 +0000 (10:07 +0100)
commit8bd98f0e6bf792e8fa7c3fed709321ad42ba8d2e
tree08a834dc29f1312f69671fa24527135c656a8bf1
parent5e33a2bd7ca7fa687fb0965869196eea6815d1f3
btrfs: csum_tree_block: return proper errno value

Signed-off-by: Alex Lyakas <alex@zadarastorage.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c