diff options
| author | Yue Hu <[email protected]> | 2022-08-12 06:01:50 +0000 |
|---|---|---|
| committer | Gao Xiang <[email protected]> | 2022-09-05 15:22:01 +0000 |
| commit | ea0b7b0d59e81a9c1bc03f8696bb04851bc2ad22 (patch) | |
| tree | 79b087a88ddd3ddf0d6d5de640640f2eb4fcdcff /drivers/usb/cdns3/cdns3-trace.h | |
| parent | erofs: fix error return code in erofs_fscache_{meta_,}read_folio (diff) | |
| download | kernel-ea0b7b0d59e81a9c1bc03f8696bb04851bc2ad22.tar.gz kernel-ea0b7b0d59e81a9c1bc03f8696bb04851bc2ad22.zip | |
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 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions
