btrfs-progs: check: Fix data csum check return value
commit40b6bc1cb6a8b237c4ca5fb0bd315215a886d400
authorQu Wenruo <wqu@suse.com>
Tue, 27 Feb 2018 09:12:57 +0000 (27 17:12 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jun 2018 14:32:03 +0000 (7 16:32 +0200)
treeef9ed04767a90946be6afb7367ae9f7432000565
parent9be798867718770263e663de3be7361e8422d96c
btrfs-progs: check: Fix data csum check return value

When --check-data-csum option found csum mismatch, btrfs check still
return 0.

Fix it so log-replay could automatically pause when it finds csum error.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
check/main.c