f2fs: fix to restrict mount condition when without CONFIG_QUOTA
authorChao Yu <yuchao0@huawei.com>
Wed, 25 Jul 2018 23:19:48 +0000 (07:19 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 1 Aug 2018 18:52:36 +0000 (11:52 -0700)
commit4ddc1b28aac57a90c6426d55e0dea3c1b5eb4782
treef9e9ea51437885aa52f7b8e59b24be4d9278ca7f
parent00960c2cd8f169e38700956d3e7ff07bfa4d7b3b
f2fs: fix to restrict mount condition when without CONFIG_QUOTA

Like quota_ino feature, we need to reject mounting RDWR with image
which enables project_quota feature when there is no CONFIG_QUOTA
be set in kernel.

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