f2fs: quota: do not mount as RDWR without QUOTA if quota feature enabled
authorSheng Yong <shengyong1@huawei.com>
Tue, 24 Jul 2018 12:17:52 +0000 (20:17 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 1 Aug 2018 18:52:36 +0000 (11:52 -0700)
commit00960c2cd8f169e38700956d3e7ff07bfa4d7b3b
tree3bec0b0ce78fd377bfe06e8d14ae333b2629a22d
parent76cf05d79c9ef02d5afa77abaf9b109afde794c4
f2fs: quota: do not mount as RDWR without QUOTA if quota feature enabled

If quota feature is enabled, quota is on by default. However, if
CONFIG_QUOTA is not built in kernel, dquot entries will not get updated,
which leads to quota inconsistency.

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