diff mbox series

[3/6] tst_test: Use 16 MB also for tmpfs

Message ID 20220827002815.19116-4-pvorel@suse.cz (mailing list archive)
State New, archived
Headers show
Series Track minimal size per filesystem | expand

Commit Message

Petr Vorel Aug. 27, 2022, 12:28 a.m. UTC
Previously 32 MB was used, use the default size used
for most of the filesystems (16 MB).

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 lib/tst_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Cyril Hrubis Aug. 29, 2022, 11 a.m. UTC | #1
Hi!
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
diff mbox series

Patch

diff --git a/lib/tst_test.c b/lib/tst_test.c
index bfc40554f..fce73c2f9 100644
--- a/lib/tst_test.c
+++ b/lib/tst_test.c
@@ -1030,7 +1030,7 @@  static const char *limit_tmpfs_mount_size(const char *mnt_data,
 		return mnt_data;
 
 	if (!tst_test->dev_min_size)
-		tmpfs_size = 32;
+		tmpfs_size = tst_min_fs_size(TST_TMPFS_MAGIC);
 	else
 		tmpfs_size = tdev.size;