f2fs: initialize page_array_entry slab only if compression feature is on
authorChao Yu <chao@kernel.org>
Sat, 18 Jun 2022 17:51:55 +0000 (01:51 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 28 Jun 2022 16:27:10 +0000 (09:27 -0700)
commit29be7ec3df7a3ed95584d39aa4014df0cd056991
treeedddfc21b6c86d9de7cd8fa3adafa81ed091676b
parenta4a0e16dbf77582c4f58ab472229dd071b5c4260
f2fs: initialize page_array_entry slab only if compression feature is on

Otherwise, in image which doesn't support compression feature,
page_array_entry will be initialized w/o use.

Signed-off-by: Chao Yu <chao.yu@oppo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c