[PATCH v2 2/2] erofs: clean up header parsing for ztailpacking and fragments

Chao Yu chao at kernel.org
Sun Mar 16 12:50:22 AEDT 2025


On 2025/2/24 20:37, Gao Xiang wrote:
> Simplify the logic in z_erofs_fill_inode_lazy() by combining the
> handling of ztailpacking and fragments, as they are mutually exclusive.
> 
> Note that `h->h_clusterbits >> Z_EROFS_FRAGMENT_INODE_BIT` is handled
> above, so no need to duplicate the check.
> 
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Reviewed-by: Chao Yu <chao at kernel.org>

Thanks,


More information about the Linux-erofs mailing list