diff options
author | Josef Bacik <[email protected]> | 2019-12-06 11:39:00 -0500 |
---|---|---|
committer | David Sterba <[email protected]> | 2019-12-13 14:10:45 +0100 |
commit | 714cd3e8cba6841220dce9063a7388a81de03825 (patch) | |
tree | dc44b6d0f8680087c56b13ef90b062c039e3e600 /lib/netdev-notifier-error-inject.c | |
parent | c7e54b5102bf3614cadb9ca32d7be73bad6cecf0 (diff) |
btrfs: handle ENOENT in btrfs_uuid_tree_iterate
If we get an -ENOENT back from btrfs_uuid_iter_rem when iterating the
uuid tree we'll just continue and do btrfs_next_item(). However we've
done a btrfs_release_path() at this point and no longer have a valid
path. So increment the key and go back and do a normal search.
CC: [email protected] # 4.4+
Reviewed-by: Filipe Manana <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions