btrfs-progs/check
Qu Wenruo 2777e53911 btrfs-progs: check: Skip data csum verification for metadata dump
For metadata dump (fs restored by btrfs-image), no data is restored
and check sum verification will definitely report error.

Add such check in check_csums() and prompt for user input.

Issue: #103
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2018-04-24 13:00:11 +02:00
..
main.c btrfs-progs: check: Skip data csum verification for metadata dump 2018-04-24 13:00:11 +02:00
mode-common.c Btrfs-progs: check, fix false error reports for shared prealloc extents 2018-03-30 22:15:54 +02:00
mode-common.h Btrfs-progs: check, fix false error reports for shared prealloc extents 2018-03-30 22:15:54 +02:00
mode-lowmem.c btrfs-progs: check/lowmem mode: Check inline extent size 2018-03-30 22:15:54 +02:00
mode-lowmem.h btrfs-progs: check: rename files after moving code 2018-02-02 16:01:59 +01:00
mode-original.h btrfs-progs: check: original mode: Check inline extent size 2018-03-30 22:15:54 +02:00