[LTP] [PATCH] fallocate06: drop explicit tmpfs size

Ralph Siemsen ralph.siemsen@linaro.org
Tue Sep 28 15:45:28 CEST 2021


The test does not require 512MB, so drop this specification. Instead
rely on earlier commit 21c8759f4 ("lib: adjust the tmpfs size according
to .dev_min_size and MemAvailable") to set the size.

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
---
 testcases/kernel/syscalls/fallocate/fallocate06.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testcases/kernel/syscalls/fallocate/fallocate06.c b/testcases/kernel/syscalls/fallocate/fallocate06.c
index 49ddba4a2..bf0d24328 100644
--- a/testcases/kernel/syscalls/fallocate/fallocate06.c
+++ b/testcases/kernel/syscalls/fallocate/fallocate06.c
@@ -261,7 +261,6 @@ static struct tst_test test = {
 	.tcnt = ARRAY_SIZE(testcase_list),
 	.needs_root = 1,
 	.mount_device = 1,
-	.dev_min_size = 512,
 	.mntpoint = MNTPOINT,
 	.all_filesystems = 1,
 	.setup = setup,
-- 
2.25.1



More information about the ltp mailing list