commit | d74b37987c36b93603751df0721a6869d67e0fcd | [log] [tgz] |
---|---|---|
author | Yue Hu <huyue2@yulong.com> | Fri Jul 23 14:27:39 2021 +0800 |
committer | Gao Xiang <xiang@kernel.org> | Sat Jul 24 21:49:12 2021 +0800 |
tree | 9a51359a9ffceacb75e285660070c3d2d0c9ec6d | |
parent | 95801d47cbde20a8e4043ed9fc1ded131b4c2081 [diff] |
erofs-utils: no compression case for tail-end block in vle_write_indexes() Note that count value will be always greater than EROFS_BLKSIZ when calling erofs_compress_destsize() in vle_compress_one(). So, the d1 always >= 1 for compressed block in vle_write_indexes(). That is to say tail-end block can't be compressed. Link: https://lore.kernel.org/r/20210723062739.1415-1-zbestahu@gmail.com Signed-off-by: Yue Hu <huyue2@yulong.com> Signed-off-by: Gao Xiang <xiang@kernel.org>