public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ext4: remove QUOTA flag setting in set_qf_name()
@ 2018-10-08 23:50 Chengguang Xu
  2018-10-09  1:50 ` Theodore Y. Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Chengguang Xu @ 2018-10-08 23:50 UTC (permalink / raw)
  To: tytso, adilger.kernel; +Cc: linux-ext4, Chengguang Xu

Mount flag QUOTA is the same as flag USRQUOTA in ext4, so should
not set flag QUOTA in set_qf_name().

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
---
 fs/ext4/super.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 1145109968ef..9ed33e4860db 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1566,7 +1566,6 @@ static int set_qf_name(struct super_block *sb, int qtype, substring_t *args)
 		goto errout;
 	}
 	sbi->s_qf_names[qtype] = qname;
-	set_opt(sb, QUOTA);
 	return 1;
 errout:
 	kfree(qname);
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-09  9:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-08 23:50 [PATCH] ext4: remove QUOTA flag setting in set_qf_name() Chengguang Xu
2018-10-09  1:50 ` Theodore Y. Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox