erofs-utils: fix the current rebuild mode
authorGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 12 Jun 2024 02:16:17 +0000 (10:16 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 12 Jun 2024 03:09:17 +0000 (11:09 +0800)
commit925ed6cc2b17e20a5915aa5f26a0bbac0161e80e
tree48d5a221d449e71a62f7556069583782a5934d0b
parente92e081abbbf576fceacd2ad4464928378f3cce9
erofs-utils: fix the current rebuild mode

`inode->with_diskbuf` can be false in the rebuild mode since
inode data has been mapped before.

Fixes: 203c847cc7d1 ("erofs-utils: unify the tree traversal for the rebuild mode")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240612021617.4025762-1-hsiangkao@linux.alibaba.com
lib/inode.c