diff options
author | Gao Xiang <[email protected]> | 2023-12-06 17:10:54 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2023-12-15 01:47:06 +0800 |
commit | 54ed3fdd66055d073cb1cd2c6c65bbc0683c40cf (patch) | |
tree | 4b6b7dc8d11549001ee6e5a639ca59d52e6d76cc /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 192351616a9dde686492bcb9d1e4895a1411a527 (diff) |
erofs: record `pclustersize` in bytes instead of pages
Currently, compressed sizes are recorded in pages using `pclusterpages`,
However, for tailpacking pclusters, `tailpacking_size` is used instead.
This approach doesn't work when dealing with sub-page blocks. To address
this, let's switch them to the unified `pclustersize` in bytes.
Reviewed-by: Yue Hu <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions