* [PATCH] selftests/filesystems: Fix build of anon_inode_test
@ 2025-05-18 14:01 Mark Brown
2025-05-23 14:10 ` Mark Brown
2025-05-30 10:39 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Mark Brown @ 2025-05-18 14:01 UTC (permalink / raw)
To: Shuah Khan, Christian Brauner, Jeff Layton, Amir Goldstein
Cc: linux-kselftest, linux-kernel, Mark Brown
The anon_inode_test test fails to build due to attempting to include
a nonexisting overlayfs/wrapper.h:
anon_inode_test.c:10:10: fatal error: overlayfs/wrappers.h: No such file or directory
10 | #include "overlayfs/wrappers.h"
| ^~~~~~~~~~~~~~~~~~~~~~
This is due to 0bd92b9fe538 ("selftests/filesystems: move wrapper.h out
of overlayfs subdir") which was added in the vfs-6.16.selftests branch
which was based on -rc5 and does not contain the newly added test so
once things were merged into vfs.all in the build started failing - both
parent commits are fine.
Fixes: feaa00dbff45a ("Merge branch 'vfs-6.16.selftests' into vfs.all")
Signed-off-by: Mark Brown <broonie@kernel.org>
---
tools/testing/selftests/filesystems/anon_inode_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/filesystems/anon_inode_test.c b/tools/testing/selftests/filesystems/anon_inode_test.c
index e8e0ef1460d2..73e0a4d4fb2f 100644
--- a/tools/testing/selftests/filesystems/anon_inode_test.c
+++ b/tools/testing/selftests/filesystems/anon_inode_test.c
@@ -7,7 +7,7 @@
#include <sys/stat.h>
#include "../kselftest_harness.h"
-#include "overlayfs/wrappers.h"
+#include "wrappers.h"
TEST(anon_inode_no_chown)
{
---
base-commit: feaa00dbff45ad9a0dcd04a92f88c745bf880f55
change-id: 20250516-selftests-anon-inode-build-007e206e8422
Best regards,
--
Mark Brown <broonie@kernel.org>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] selftests/filesystems: Fix build of anon_inode_test
2025-05-18 14:01 [PATCH] selftests/filesystems: Fix build of anon_inode_test Mark Brown
@ 2025-05-23 14:10 ` Mark Brown
2025-05-30 10:39 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2025-05-23 14:10 UTC (permalink / raw)
To: Shuah Khan, Christian Brauner, Jeff Layton, Amir Goldstein
Cc: linux-kselftest, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 736 bytes --]
On Sun, May 18, 2025 at 03:01:34PM +0100, Mark Brown wrote:
> The anon_inode_test test fails to build due to attempting to include
> a nonexisting overlayfs/wrapper.h:
>
> anon_inode_test.c:10:10: fatal error: overlayfs/wrappers.h: No such file or directory
> 10 | #include "overlayfs/wrappers.h"
> | ^~~~~~~~~~~~~~~~~~~~~~
>
> This is due to 0bd92b9fe538 ("selftests/filesystems: move wrapper.h out
> of overlayfs subdir") which was added in the vfs-6.16.selftests branch
> which was based on -rc5 and does not contain the newly added test so
> once things were merged into vfs.all in the build started failing - both
> parent commits are fine.
This build failure is still present in today's -next.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] selftests/filesystems: Fix build of anon_inode_test
2025-05-18 14:01 [PATCH] selftests/filesystems: Fix build of anon_inode_test Mark Brown
2025-05-23 14:10 ` Mark Brown
@ 2025-05-30 10:39 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2025-05-30 10:39 UTC (permalink / raw)
To: Shuah Khan, Christian Brauner, Jeff Layton, Amir Goldstein,
Linus Torvalds
Cc: linux-kselftest, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1994 bytes --]
On Sun, May 18, 2025 at 03:01:34PM +0100, Mark Brown wrote:
> The anon_inode_test test fails to build due to attempting to include
> a nonexisting overlayfs/wrapper.h:
>
> anon_inode_test.c:10:10: fatal error: overlayfs/wrappers.h: No such file or directory
> 10 | #include "overlayfs/wrappers.h"
> | ^~~~~~~~~~~~~~~~~~~~~~
This build failure, first reported against -next and which should be
fixed by this patch, is now present in mainline.
> This is due to 0bd92b9fe538 ("selftests/filesystems: move wrapper.h out
> of overlayfs subdir") which was added in the vfs-6.16.selftests branch
> which was based on -rc5 and does not contain the newly added test so
> once things were merged into vfs.all in the build started failing - both
> parent commits are fine.
>
> Fixes: feaa00dbff45a ("Merge branch 'vfs-6.16.selftests' into vfs.all")
I see that the two branches get sent separately to Linus so the merge
that triggers things is now:
3e406741b19890 ("Merge tag 'vfs-6.16-rc1.selftests' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs")
I'll resend with that updated.
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
> tools/testing/selftests/filesystems/anon_inode_test.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/filesystems/anon_inode_test.c b/tools/testing/selftests/filesystems/anon_inode_test.c
> index e8e0ef1460d2..73e0a4d4fb2f 100644
> --- a/tools/testing/selftests/filesystems/anon_inode_test.c
> +++ b/tools/testing/selftests/filesystems/anon_inode_test.c
> @@ -7,7 +7,7 @@
> #include <sys/stat.h>
>
> #include "../kselftest_harness.h"
> -#include "overlayfs/wrappers.h"
> +#include "wrappers.h"
>
> TEST(anon_inode_no_chown)
> {
>
> ---
> base-commit: feaa00dbff45ad9a0dcd04a92f88c745bf880f55
> change-id: 20250516-selftests-anon-inode-build-007e206e8422
>
> Best regards,
> --
> Mark Brown <broonie@kernel.org>
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-30 10:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-18 14:01 [PATCH] selftests/filesystems: Fix build of anon_inode_test Mark Brown
2025-05-23 14:10 ` Mark Brown
2025-05-30 10:39 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).