erofs: simplify z_erofs_read_fragment()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 17 Aug 2023 08:28:06 +0000 (16:28 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 23 Aug 2023 15:41:39 +0000 (23:41 +0800)
commit8b00be163f7b57cbf957b3d27b5a7ca1e2495cfa
tree2db510af9f370f2e9b76e24e05cf98e832427b30
parentd442495c9676b6587f0058c5843b2d053dd1765b
erofs: simplify z_erofs_read_fragment()

A trivial cleanup to make the fragment handling logic more clear.

Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230817082813.81180-1-hsiangkao@linux.alibaba.com
fs/erofs/zdata.c