erofs-utils: lib: fix insufficient fragment cache bitmap
authorGao Xiang <hsiangkao@linux.alibaba.com>
Sat, 8 Mar 2025 17:35:23 +0000 (01:35 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sat, 8 Mar 2025 17:39:32 +0000 (01:39 +0800)
commitb763022c1c981871b2983d1eca008117ecd4cf7a
tree8150ff4c46fcd572533c06506fc51077c575e959
parented22721459a6b1dd43bb94362d93f214397a512c
erofs-utils: lib: fix insufficient fragment cache bitmap

.. should round up to the nearest byte instead of down.

Fixes: f511cfbbc0da ("erofs-utils: introduce fragment cache")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250308173523.3696606-1-hsiangkao@linux.alibaba.com
lib/fragments.c