erofs: use Z_EROFS_LCLUSTER_TYPE_MAX to simplify switches
[ Upstream commit 3b7781ae ] There's no need to enumerate each type. No logic changes. Signed-off-by:Hongzhen Luo <hongzhen@linux.alibaba.com> Reviewed-by:
Gao Xiang <hsiangkao@linux.alibaba.com> Reviewed-by:
Chao Yu <chao@kernel.org> Link: https://lore.kernel.org/r/20250210032923.3382136-1-hongzhen@linux.alibaba.com Signed-off-by:
Gao Xiang <hsiangkao@linux.alibaba.com> Stable-dep-of: b44686c8 ("erofs: fix large fragment handling") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please sign in to comment