On 2018/9/27 23:23, Chengguang Xu wrote: > Mount flag QUOTA is the same as flag USRQUOTA in f2fs, so should not > set flag QUOTA in f2fs_set_qf_name().
Those journalled quota codes were copied from ext4, I'm not sure, maybe there are some userspace tools replying on this mount option, for example, apps can check 'quota' mount option to know whether current filesystem support quota feature, can you check that? Thanks, > > Signed-off-by: Chengguang Xu <cgxu...@gmx.com> > --- > fs/f2fs/super.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c > index 896b885f504e..e2abd45c2cdd 100644 > --- a/fs/f2fs/super.c > +++ b/fs/f2fs/super.c > @@ -286,7 +286,6 @@ static int f2fs_set_qf_name(struct super_block *sb, int > qtype, > goto errout; > } > F2FS_OPTION(sbi).s_qf_names[qtype] = qname; > - set_opt(sbi, QUOTA); > return 0; > errout: > kfree(qname); > _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel