forked from Mirrors/btrfs-progs
38aff3d1ed
For DIR_ITEM with mismatch hash, we could just remove the offending dir item from the tree. Lowmem mode will handle the rest, either re-create the correct dir_item or move the orphan inode to lost+found. This is especially important for old filesystems, since later kernel introduces stricter tree-checker, which could detect such hash mismatch and refuse to read the corrupted leaf. With this repair ability, user could repair with 'btrfs check --mode=lowmem --repair'. Link: https://bugzilla.opensuse.org/show_bug.cgi?id=1111991 Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> |
||
---|---|---|
.. | ||
main.c | ||
mode-common.c | ||
mode-common.h | ||
mode-lowmem.c | ||
mode-lowmem.h | ||
mode-original.h |