f2fs: use COMPRESS_MAPPING to get compress cache mapping
authorZhang Qilong <zhangqilong3@huawei.com>
Tue, 30 Aug 2022 06:55:15 +0000 (14:55 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Oct 2022 20:31:42 +0000 (13:31 -0700)
commit173cdf2c32b4b02474006d87648383244c0a6db9
tree0652fbf108a8cd5e214e0936da4535fcf64e0298
parent280dfeae56e6fbfff21cfece356379e318ae10fe
f2fs: use COMPRESS_MAPPING to get compress cache mapping

Just use the defined COMPRESS_MAPPING to get compress cache
mapping instaed of direct accessing name.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c