erofs-utils: lib: fix inappropriate initialization in cache.c
authorHongzhen Luo <hongzhen@linux.alibaba.com>
Mon, 3 Mar 2025 05:42:53 +0000 (13:42 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sat, 5 Apr 2025 16:25:21 +0000 (00:25 +0800)
commitb22a3ecfdb95a267d16ca44e386aae918c8c4c5d
tree8661f7bdc8d317de43363c7961d613190cea23c7
parentd97c0017450b2cba82759c224f94c6d92501c321
erofs-utils: lib: fix inappropriate initialization in cache.c

This patch fixes the inappropriate initialization of `dsunit` and
`bktmap` in cache.c.

Fixes: 8bb6de4e7c41 ("erofs-utils: mkfs: support data alignment")
Fixes: ca0f040f98b6 ("erofs-utils: lib: use bitmaps to accelerate bucket selection")
Signed-off-by: Hongzhen Luo <hongzhen@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250303054253.1154648-1-hongzhen@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
lib/cache.c