diff options
| author | Filipe Manana <[email protected]> | 2025-06-03 21:06:17 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-06-19 13:20:47 +0000 |
| commit | 16edae52f60658caeaa0702e7cb6b738a09d4ad4 (patch) | |
| tree | 49378ca6b48884d874b3a0f1acb1300b508e4356 /lib/memory-notifier-error-inject.c | |
| parent | btrfs: fix invalid inode pointer dereferences during log replay (diff) | |
| download | kernel-16edae52f60658caeaa0702e7cb6b738a09d4ad4.tar.gz kernel-16edae52f60658caeaa0702e7cb6b738a09d4ad4.zip | |
btrfs: don't silently ignore unexpected extent type when replaying log
If there's an unexpected (invalid) extent type, we just silently ignore
it. This means a corruption or some bug somewhere, so instead return
-EUCLEAN to the caller, making log replay fail, and print an error message
with relevant information.
Reviewed-by: Boris Burkov <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
