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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2016 01:35:17 +0000 (18:35 -0700)
commit342da5cefddbf818e1cb59537e021cdad9744e93
tree2d32cb66cacb728719bbc9783d175278b06de8d6
parent13b7e683b67b36a7dc3a5bc98e3718028b3c5dfd
btrfs: csum_tree_block: return proper errno value

commit 8bd98f0e6bf792e8fa7c3fed709321ad42ba8d2e upstream.

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