OSDN Git Service

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>
Tue, 18 Sep 2018 20:39:27 +0000 (13:39 -0700)
commitbab53a178a57cc3b5e59eb5ff73a8830cf125626
tree6b1347411f147caaa1d0dcc28328c2f668270a1f
parent3675f13c6283e8f5f3f8388c0f4ec7c64c6a5b8e
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