summaryrefslogtreecommitdiff
path: root/tests/fsck-tests
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2014-10-03 10:54:26 -0400
committerDavid Sterba <dsterba@suse.cz>2014-10-14 11:10:36 +0200
commit01f868b5a99b412212ede924a81aa15e6d408381 (patch)
tree1bfc7d30e737f3fcb389c5021afb37af473a17ed /tests/fsck-tests
parentf738a758af3b04c302dca2a1c50b9a021a40148c (diff)
btrfs-progs: make fsck deal with bogus items
We can deal with corrupt items by deleting them in a few cases. Fsck can easily recover from a missing extent item or a dir index item. So if we notice a item is completely bogus and it is of a key that we know we can repair then just delete it and carry on. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'tests/fsck-tests')
-rw-r--r--tests/fsck-tests/005-bad-item-offset.imgbin0 -> 398336 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/fsck-tests/005-bad-item-offset.img b/tests/fsck-tests/005-bad-item-offset.img
new file mode 100644
index 00000000..e11e1e32
--- /dev/null
+++ b/tests/fsck-tests/005-bad-item-offset.img
Binary files differ