summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2015-01-13 15:23:41 -0500
committerJosef Bacik <jbacik@fb.com>2015-02-09 14:53:07 -0500
commit8ab2d7a9dd3099c9a5fdc5acd354b57e1039d18a (patch)
tree7e71c218f7ba87cf351d477335504573f47a0871 /tests
parent63d66268f44c58e10f1dc159bf4c19d3067d38f8 (diff)
btrfs-progs: deal with no extent info
Previously we used to just set FULL_BACKREF if we couldn't lookup an extent info for an extent. Now we just bail out if we can't lookup the extent info, which is less than good since fsck is supposed to fix these very problems. So instead figure out the flag we are supposed to use and pass that along instead. This patch also provides a test image to test this functionality. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fsck-tests/014-no-extent-info/default_case.imgbin0 -> 4096 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/fsck-tests/014-no-extent-info/default_case.img b/tests/fsck-tests/014-no-extent-info/default_case.img
new file mode 100644
index 00000000..1ff27434
--- /dev/null
+++ b/tests/fsck-tests/014-no-extent-info/default_case.img
Binary files differ