]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7875d887c6e6ec7248828d7dd1a7cb591820b188
tree20bbd99b3b6d29d09dddfe45ecad2ed37a986ecc
parent848e9149cd5cc6aaaf4670e5a99448a051ce2502
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