diff options
| author | Gao Xiang <[email protected]> | 2021-10-25 07:43:11 +0000 |
|---|---|---|
| committer | Gao Xiang <[email protected]> | 2021-10-31 13:00:28 +0000 |
| commit | a0961f351d82d43ab0b845304caa235dfe249ae9 (patch) | |
| tree | 41480cd2f7f4458ab1747c90e02e870b7a7f2d94 /fs/btrfs/dev-replace.c | |
| parent | erofs: get rid of ->lru usage (diff) | |
| download | kernel-a0961f351d82d43ab0b845304caa235dfe249ae9.tar.gz kernel-a0961f351d82d43ab0b845304caa235dfe249ae9.zip | |
erofs: don't trigger WARN() when decompression fails
syzbot reported a WARNING [1] due to corrupted compressed data.
As Dmitry said, "If this is not a kernel bug, then the code should
not use WARN. WARN if for kernel bugs and is recognized as such by
all testing systems and humans."
[1] https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Cc: Dmitry Vyukov <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Reported-by: [email protected]
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
