diff options
author | Josef Bacik <jbacik@fb.com> | 2014-10-10 16:57:15 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-14 10:47:59 +0200 |
commit | c2e686d76a310623495c63b2e3dd8b5ec8bab194 (patch) | |
tree | 089f43d83695b2a55619566543bf24bd00491000 /btrfs-corrupt-block.c | |
parent | bb561f5485ab5852214e115116507524e45daff8 (diff) |
Btrfs-progs: deal with mismatch index between dir index and inode ref
Sometimes we have a dir index and an inode ref that don't agree on the index.
In this case just assume that the inode ref is the ultimate authority on the
subject and delete the dir index. This means we have to not reset index if we
find a mismatched inode ref to make sure we delete the right dir index. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'btrfs-corrupt-block.c')
0 files changed, 0 insertions, 0 deletions