mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-21 04:16:50 +00:00
Previously, @err are assigned immediately after check but before repair. repair_extent_item()'s return value also confuses the caller. If error has been repaired and returns 0, check_extent_item() will try to continue check the nonexistent and cause flase alerts. Here make repair_extent_item()'s return codes only represents status of the extent item, error bits are handled in caller of the repair function. Change of @err after repair. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com> [Solve conflicts with DIR_ITEM hash mismatch patchset] Signed-off-by: Qu Wenruo <wqu@suse.com> |
||
---|---|---|
.. | ||
main.c | ||
mode-common.c | ||
mode-common.h | ||
mode-lowmem.c | ||
mode-lowmem.h | ||
mode-original.h |