diff options
author | 2024-10-07 13:52:47 +0200 | |
---|---|---|
committer | 2024-11-11 14:34:14 +0100 | |
commit | 5e72aabc1fffe9d713276974b0533d10354d0a13 (patch) | |
tree | 58931a53bc863067da4e7aaf3a7835f229086f77 /fs/btrfs/tree-mod-log.h | |
parent | btrfs: handle empty list of NOCOW ordered extents with checksum list (diff) | |
download | wireguard-linux-5e72aabc1fffe9d713276974b0533d10354d0a13.tar.xz wireguard-linux-5e72aabc1fffe9d713276974b0533d10354d0a13.zip |
btrfs: return ENODATA in case RST lookup fails
In case a lookup in the RAID stripe-tree fails, return ENODATA instead of
ENOENT to better distinguish stripe-tree lookups from other code paths
where we return ENOENT.
Suggested-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-mod-log.h')
0 files changed, 0 insertions, 0 deletions