]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
erofs: remove a superfluous check for encoded extents
authorGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 20 Jun 2025 15:31:08 +0000 (23:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:13:43 +0000 (11:13 +0100)
commitb9c04994f96b1ecd6f1cae096e088d07265be74f
tree6e151eb4e1a7bb9366f50f01584ff489c1361fba
parent9957279ce953e4dbaa8560a8b54e5dd6cc283983
erofs: remove a superfluous check for encoded extents

[ Upstream commit 417b8af2e30d7f131682a893ad79c506fd39c624 ]

It is possible when an inode is split into segments for multi-threaded
compression, and the tail extent of a segment could also be small.

Fixes: 1d191b4ca51d ("erofs: implement encoded extent metadata")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250620153108.1368029-1-hsiangkao@linux.alibaba.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/erofs/zmap.c