diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2021-10-25 15:43:11 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2021-10-31 21:00:28 +0800 |
commit | a0961f351d82d43ab0b845304caa235dfe249ae9 (patch) | |
tree | 41480cd2f7f4458ab1747c90e02e870b7a7f2d94 /include/linux/fs_struct.h | |
parent | eaa9172ad988b3ef5c59a051c825706252d435e1 (diff) |
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/000000000000b3586105cf0ff45e@google.com
Link: https://lore.kernel.org/r/20211025074311.130395-1-hsiangkao@linux.alibaba.com
Cc: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Reported-by: syzbot+d8aaffc3719597e8cfb4@syzkaller.appspotmail.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'include/linux/fs_struct.h')
0 files changed, 0 insertions, 0 deletions