All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [COMMITTED] [PATCH] quotaclt: Fix build faliures in metadata parser
@ 2022-01-10 13:01 Cyril Hrubis
  2022-01-11  1:09 ` xuyang2018.jy
  0 siblings, 1 reply; 2+ messages in thread
From: Cyril Hrubis @ 2022-01-10 13:01 UTC (permalink / raw)
  To: ltp

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [LTP] [COMMITTED] [PATCH] quotaclt: Fix build faliures in metadata parser
  2022-01-10 13:01 [LTP] [COMMITTED] [PATCH] quotaclt: Fix build faliures in metadata parser Cyril Hrubis
@ 2022-01-11  1:09 ` xuyang2018.jy
  0 siblings, 0 replies; 2+ messages in thread
From: xuyang2018.jy @ 2022-01-11  1:09 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp

Hi Cyril
> 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.

Thanks for your fix. Now, I know this limit.

Best Regards
Yang Xu
>
> 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;

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-11  1:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 13:01 [LTP] [COMMITTED] [PATCH] quotaclt: Fix build faliures in metadata parser Cyril Hrubis
2022-01-11  1:09 ` xuyang2018.jy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.