btrfs: tree-checker: Make btrfs_check_chunk_valid() return EUCLEAN instead of EIO
authorQu Wenruo <wqu@suse.com>
Wed, 20 Mar 2019 05:39:14 +0000 (13:39 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:32 +0000 (19:02 +0200)
commitbf871c3b43b1dcc3f2a076ff39a8f1ce7959d958
tree138860f69a460a93795ae4c369d98a9e26435f0c
parentf114024376bceb1c0f61a7bad4a72a0f978767af
btrfs: tree-checker: Make btrfs_check_chunk_valid() return EUCLEAN instead of EIO

To follow the standard behavior of tree-checker.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-checker.c