f2fs: compress: disable compression mount option if compression is off
authorChao Yu <yuchao0@huawei.com>
Wed, 29 Jul 2020 13:21:36 +0000 (21:21 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 3 Aug 2020 17:32:52 +0000 (10:32 -0700)
commit1f0b067b6e4927f06f5ffaea8eccdf722e563819
treeec247c4eb6803ea0f0777e2fa5f89e33dfd36485
parenta86d27dd3dbed4d870c6582b8d4bf1fd0f653914
f2fs: compress: disable compression mount option if compression is off

If CONFIG_F2FS_FS_COMPRESSION is off, don't allow to configure or
show compression related mount option.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c