diff options
author | Su Yue <suy.fnst@cn.fujitsu.com> | 2017-09-01 10:56:16 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-16 20:33:00 +0200 |
commit | 63edc9144113a17ebcf4576cdc73348868d7740b (patch) | |
tree | 47c7dd548ba538ea405fdcabd769633381ae00da /tests/fsck-tests/010-no-rootdir-inode-item/.lowmem_repairable | |
parent | a47604de3ee0ecbf79ce9d3fd271562177777ec8 (diff) |
btrfs-progs: check: special case for last item
Since repair functions will search path again, if the last item
was checked, the location where the path points is invalid.
Fix it by saving the last valid key if err contains LAST_ITEM,
and call btrfs_next_item() before return of check_inode_item().
Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/fsck-tests/010-no-rootdir-inode-item/.lowmem_repairable')
0 files changed, 0 insertions, 0 deletions