From 07e8d5fceabb846dfec9f6c63bf3015cccd9a10e Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Wed, 11 Dec 2024 00:23:10 +0100 Subject: [PATCH] hugemmap10: Add TST_SR_TCONF flag to .save_restore Conversion in 0922f44da8 forget to add it. Link: https://lore.kernel.org/ltp/20241210232311.385712-1-pvorel@suse.cz/ Fixes: 0922f44da8 ("save_restore: Introduce new struct field for flags") Reviewed-by: Martin Doucha Signed-off-by: Petr Vorel --- testcases/kernel/mem/hugetlb/hugemmap/hugemmap10.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap10.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap10.c index 0e1b6454164..181fe5e2537 100644 --- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap10.c +++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap10.c @@ -449,8 +449,8 @@ static struct tst_test test = { .mntpoint = MNTPOINT, .needs_hugetlbfs = 1, .save_restore = (const struct tst_path_val[]) { - {PATH_OC_HPAGES, NULL}, - {PATH_NR_HPAGES, NULL}, + {PATH_OC_HPAGES, NULL, TST_SR_TCONF}, + {PATH_NR_HPAGES, NULL, TST_SR_TCONF}, {} }, .setup = setup,