diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2025-08-24 23:11:57 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2025-08-28 11:51:07 +0800 |
commit | 131897c65e2b86cf14bec7379f44aa8fbb407526 (patch) | |
tree | 35ae89c925bb1be5731bddae93f2a57cd0080dce /tools/perf/scripts/python | |
parent | c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9 (diff) |
erofs: fix invalid algorithm for encoded extents
The current algorithm sanity checks do not properly apply to new
encoded extents.
Unify the algorithm check with Z_EROFS_COMPRESSION(_RUNTIME)_MAX
and ensure consistency with sbi->available_compr_algs.
Reported-and-tested-by: syzbot+5a398eb460ddaa6f242f@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/r/68a8bd20.050a0220.37038e.005a.GAE@google.com
Fixes: 1d191b4ca51d ("erofs: implement encoded extent metadata")
Thanks-to: Edward Adam Davis <eadavis@qq.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions