summaryrefslogtreecommitdiff
path: root/tests/fsck-tests/003-shift-offsets.img
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2014-10-03 10:45:29 -0400
committerDavid Sterba <dsterba@suse.cz>2014-10-14 11:04:08 +0200
commit187b85436b8d2209bb0df1d67a97be711663615e (patch)
tree2e05fa7227655a8c7fd90d3c5a8d7db930bddb1c /tests/fsck-tests/003-shift-offsets.img
parent94b2966daf8d3812e4b03da6eca2a5b99302e7ed (diff)
btrfs-progs: add the ability to fix shifted item offsets
A user had a corrupted fs where the items had been shifted improperly. This patch adds the ability to fix this sort of problem within fsck. We will simply shift the item over to the proper offset and update the offsets to make sure they are correct. I tested this with a hand crafted fs that was broken in the same way as the user, and I've included the file as a new test. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'tests/fsck-tests/003-shift-offsets.img')
-rw-r--r--tests/fsck-tests/003-shift-offsets.imgbin0 -> 4096 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/fsck-tests/003-shift-offsets.img b/tests/fsck-tests/003-shift-offsets.img
new file mode 100644
index 00000000..ce23f673
--- /dev/null
+++ b/tests/fsck-tests/003-shift-offsets.img
Binary files differ