diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2024-10-07 14:52:47 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-11-11 16:34:14 +0300 |
commit | 5e72aabc1fffe9d713276974b0533d10354d0a13 (patch) | |
tree | 58931a53bc863067da4e7aaf3a7835f229086f77 /fs/btrfs/tree-mod-log.c | |
parent | 61b4d75e3c5c10d523d95e19728dd5a6e2fd58f9 (diff) | |
download | linux-5e72aabc1fffe9d713276974b0533d10354d0a13.tar.xz |
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.c')
0 files changed, 0 insertions, 0 deletions