btrfs-progs: tests/fsck: add test case to make sure btrfs check can reset btrfs_dev_item::bytes_used
The test image is manually crafted with 1MiB offset in the device item of devid 1. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
0ebd1f47c5
commit
ab0d369525
2 changed files with 0 additions and 0 deletions
0
tests/fsck-tests/047-dev-bytes-used/.lowmem_repairable
Normal file
0
tests/fsck-tests/047-dev-bytes-used/.lowmem_repairable
Normal file
BIN
tests/fsck-tests/047-dev-bytes-used/default_case.img.xz
Normal file
BIN
tests/fsck-tests/047-dev-bytes-used/default_case.img.xz
Normal file
Binary file not shown.
Loading…
Reference in a new issue