diff mbox series

[v3,03/12] syscalls/quotactl04: Remove useless mount option

Message ID 1636455161-8278-3-git-send-email-xuyang2018.jy@fujitsu.com
State Accepted
Headers show
Series [v3,01/12] syscalls/quotactl01: Also test with vfsv1 format | expand

Commit Message

Yang Xu Nov. 9, 2021, 10:52 a.m. UTC
When use -O quota options for mkfs.ext4, quota mount option will be ignored
since 3.5 kernel[1]. Since the Oldest tested kernel version is 3.10,
we can remove mount option directly.

[1]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c319d3

Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
 testcases/kernel/syscalls/quotactl/quotactl04.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Cyril Hrubis Nov. 10, 2021, 3:26 p.m. UTC | #1
Hi!
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/quotactl/quotactl04.c b/testcases/kernel/syscalls/quotactl/quotactl04.c
index fd3afc888..f3e2cf3a5 100644
--- a/testcases/kernel/syscalls/quotactl/quotactl04.c
+++ b/testcases/kernel/syscalls/quotactl/quotactl04.c
@@ -141,7 +141,7 @@  static void setup(void)
 		tst_brk(TCONF, "Test needs mkfs.ext4 >= 1.43 for quota,project option, test skipped");
 	pclose(f);
 	SAFE_MKFS(tst_device->dev, tst_device->fs_type, fs_opts, NULL);
-	do_mount(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, "quota");
+	do_mount(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL);
 }
 
 static void cleanup(void)