[LTP] [COMMITTED] [PATCH] quotaclt: Fix build faliures in metadata parser
Cyril Hrubis
chrubis@suse.cz
Mon Jan 10 14:01:38 CET 2022
The current parser has many limitations, one of them is that it only
parses headers directly included by the test hence the quotactl tests
have to directly include the header that defines the number of variants.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
testcases/kernel/syscalls/quotactl/quotactl02.c | 1 +
testcases/kernel/syscalls/quotactl/quotactl05.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/testcases/kernel/syscalls/quotactl/quotactl02.c b/testcases/kernel/syscalls/quotactl/quotactl02.c
index 56fa23b9d..c16e0a3f8 100644
--- a/testcases/kernel/syscalls/quotactl/quotactl02.c
+++ b/testcases/kernel/syscalls/quotactl/quotactl02.c
@@ -26,6 +26,7 @@
*/
#include "quotactl02.h"
+#include "quotactl_syscall_var.h"
#ifdef HAVE_XFS_XQM_H
static uint32_t qflagu = XFS_QUOTA_UDQ_ENFD;
diff --git a/testcases/kernel/syscalls/quotactl/quotactl05.c b/testcases/kernel/syscalls/quotactl/quotactl05.c
index e56e191df..541007e97 100644
--- a/testcases/kernel/syscalls/quotactl/quotactl05.c
+++ b/testcases/kernel/syscalls/quotactl/quotactl05.c
@@ -19,6 +19,7 @@
*/
#include "quotactl02.h"
+#include "quotactl_syscall_var.h"
#if defined(HAVE_XFS_XQM_H)
static uint32_t qflagp = XFS_QUOTA_PDQ_ENFD;
--
2.34.1
More information about the ltp
mailing list