]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfdec6721f6eb3e179d1eba0c6c1281faa0334a38
treeedddfc21b6c86d9de7cd8fa3adafa81ed091676b
parentf6d8b855920cf0e7d5a9703e6fa43fa6d600c404
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