aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorYue Hu <[email protected]>2022-08-12 14:01:50 +0800
committerGao Xiang <[email protected]>2022-09-05 23:22:01 +0800
commitea0b7b0d59e81a9c1bc03f8696bb04851bc2ad22 (patch)
tree79b087a88ddd3ddf0d6d5de640640f2eb4fcdcff /tools/testing/selftests/bpf/progs/test_autoload.c
parent5bd9628b784cc5e38e1c7ebb680bbd6ee741230e (diff)
erofs: avoid the potentially wrong m_plen for big pcluster
Actually, 'compressedlcs' stores compressed block count rather than lcluster count. Therefore, the number of bits for shifting the count should be 'LOG_BLOCK_SIZE' rather than 'lclusterbits' although current lcluster size is 4K. The value of 'm_plen' will be wrong once we enable the non 4K-sized lcluster. Signed-off-by: Yue Hu <[email protected]> Reviewed-by: Gao Xiang <[email protected]> Reviewed-by: Chao Yu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions