[LTP] [PATCH 1/1] hugemmap10: Add TST_SR_TCONF flag to .save_restore
Petr Vorel
pvorel@suse.cz
Wed Dec 11 00:23:10 CET 2024
Conversion in 0922f44da8 forget to add it.
Fixes: 0922f44da8 ("save_restore: Introduce new struct field for flags")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
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 0e1b645416..181fe5e253 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,
--
2.45.2
More information about the ltp
mailing list