summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorSheng Yong <shengyong1@huawei.com>2018-07-26 13:24:25 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2018-08-01 20:52:36 +0200
commit76cf05d79c9ef02d5afa77abaf9b109afde794c4 (patch)
tree64c47d422e7e5c48c426b9dfa92f26d12aa0dbcd /fs/f2fs/super.c
parentf2fs: quota: decrease the lock granularity of statfs_project (diff)
downloadlinux-76cf05d79c9ef02d5afa77abaf9b109afde794c4.tar.xz
linux-76cf05d79c9ef02d5afa77abaf9b109afde794c4.zip
f2fs: quota: fix incorrect comments
Signed-off-by: Sheng Yong <shengyong1@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-rw-r--r--fs/f2fs/super.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index bdea57067bc0..26a767355104 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -2955,10 +2955,7 @@ try_onemore:
goto free_root_inode;
#ifdef CONFIG_QUOTA
- /*
- * Turn on quotas which were not enabled for read-only mounts if
- * filesystem has quota feature, so that they are updated correctly.
- */
+ /* Enable quota usage during mount */
if (f2fs_sb_has_quota_ino(sb) && !f2fs_readonly(sb)) {
err = f2fs_enable_quotas(sb);
if (err) {