path: root/tests
diff options
authorJosef Bacik <>2014-10-10 16:57:06 -0400
committerDavid Sterba <>2014-10-13 23:20:44 +0200
commit6863bcf74fa8bf335d73c04248fc25ac6ada3121 (patch)
tree2caf11f3ab4682dcc68c34f351f17bd8fa6234bb /tests
parentfeeaa371ed5d0392ef0cccc50c239feec3347f55 (diff)
Btrfs-progs: repair missing dir index
If we have an inode backref entry then we know enough to add back a missing dir index. When messing with the inode backrefs we need to do all of that first before we process the inode recs themselves as we may clear errors on the inode recs as we fix the directory indexes. This adds the framework for fixing backref errors and fixes missing dir index issues. Thanks, Signed-off-by: Josef Bacik <> Signed-off-by: David Sterba <>
Diffstat (limited to 'tests')
-rw-r--r--tests/fsck-tests/004-no-dir-index.imgbin0 -> 4096 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/fsck-tests/004-no-dir-index.img b/tests/fsck-tests/004-no-dir-index.img
new file mode 100644
index 00000000..6f2483e6
--- /dev/null
+++ b/tests/fsck-tests/004-no-dir-index.img
Binary files differ