erofs: clean up `enum z_erofs_collectmode'
authorGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 15 Jul 2022 15:41:57 +0000 (23:41 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 21 Jul 2022 14:55:07 +0000 (22:55 +0800)
commitdb166fc2020d300006a3aca15e539c09c948b62e
tree20bbd99b3b6d29d09dddfe45ecad2ed37a986ecc
parent5b220b204c5fcd3d5c41f53b16d0e708f879c8c7
erofs: clean up `enum z_erofs_collectmode'

`enum z_erofs_collectmode' is really ambiguous, but I'm not quite
sure if there are better naming, basically it's used to judge whether
inplace I/O can be used due to the current status of pclusters in
the chain.

Rename it as `enum z_erofs_pclustermode' instead.

Acked-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220715154203.48093-11-hsiangkao@linux.alibaba.com
fs/erofs/zdata.c