diff options
author | Su Yue <suy.fnst@cn.fujitsu.com> | 2017-02-21 16:34:38 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-03-08 13:00:49 +0100 |
commit | eafdeff3e3842015cc356a1b890dac4265c94772 (patch) | |
tree | 1803b94af782d1ed34190ffeaa1b73572e44d86d /ioctl-test.c | |
parent | a0e44021abd7fa612f3060d6b9fe7a50211aafcf (diff) |
btrfs-progs: check: enhance return values of walk_down_tree_v2
In lowmem mode, 'walk_down_tree_v2' returns negative values wheather
the error is fatal or not. It causes the loop where 'walk_down_tree_v2'
is to break even the error is tolerated and then subsequent nodes process
will be skipped.
Fix it by redefining meanings of values 'walk_down_tree_v2' returns.
Do a similar fix for 'process_one_leaf_v2'.
Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'ioctl-test.c')
0 files changed, 0 insertions, 0 deletions