[LTP] [PATCH 2/2] syscalls/fsconfig02.c: Remove unneeded .needs_tmpdir

Xiao Yang yangx.jy@cn.fujitsu.com
Wed Dec 9 11:35:47 CET 2020


.needs_device will enable .needs_tmpdir automatically so
remove the unneeded flag.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
 testcases/kernel/syscalls/fsconfig/fsconfig02.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testcases/kernel/syscalls/fsconfig/fsconfig02.c b/testcases/kernel/syscalls/fsconfig/fsconfig02.c
index 20d77917f..9ff41a7d7 100644
--- a/testcases/kernel/syscalls/fsconfig/fsconfig02.c
+++ b/testcases/kernel/syscalls/fsconfig/fsconfig02.c
@@ -94,7 +94,6 @@ static struct tst_test test = {
 	.test = run,
 	.setup = setup,
 	.cleanup = cleanup,
-	.needs_tmpdir = 1,
 	.needs_root = 1,
 	.needs_device = 1,
 };
-- 
2.25.1





More information about the ltp mailing list