diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-09-08 18:20:29 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-09-20 20:42:58 +0200 |
commit | 8ec0a4a5774ab3f91c356c71f24dfba615bee860 (patch) | |
tree | 3589aaf537cf9d402977dfba308d984c2177dcd8 /fs/btrfs/uuid-tree.h | |
parent | d2f79e6385b0fcb1a38368e17d4721b8cd72af9f (diff) |
btrfs: log message if extent item not found when running delayed extent op
When running a delayed extent operation, if we don't find the extent item
in the extent tree we just return -EIO without any logged message. This
indicates some bug or possibly a memory or fs corruption, so the return
value should not be -EIO but -EUCLEAN instead, and since it's not expected
to ever happen, print an informative error message so that if it happens
we have some idea of what went wrong, where to look at.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/uuid-tree.h')
0 files changed, 0 insertions, 0 deletions