[PATCH 2/2] erofs-utils: fsck: check packed inode only by valid packed_nid
Gao Xiang
hsiangkao at linux.alibaba.com
Fri Jun 2 19:42:43 AEST 2023
On 2023/6/2 17:37, Yue Hu wrote:
> From: Yue Hu <huyue2 at coolpad.com>
>
> Since dedupe feature is also using the same feature bit as fragments.
>
> Fixes: 017f5b402d14 ("erofs-utils: fsck: add a check to packed inode")
> Signed-off-by: Yue Hu <huyue2 at coolpad.com>
We should check both
erofs_sb_has_fragments() && sbi.packed_nid > 0 here.
Thanks,
Gao Xiang
More information about the Linux-erofs
mailing list