From 6863bcf74fa8bf335d73c04248fc25ac6ada3121 Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Fri, 10 Oct 2014 16:57:06 -0400 Subject: 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 --- tests/fsck-tests/004-no-dir-index.img | Bin 0 -> 4096 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/fsck-tests/004-no-dir-index.img (limited to 'tests') 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 Binary files /dev/null and b/tests/fsck-tests/004-no-dir-index.img differ -- cgit v1.2.3