aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/filesystems/anon_inode_test.c
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2025-05-30 10:42:25 +0000
committerLinus Torvalds <[email protected]>2025-05-31 15:43:53 +0000
commit4cb6c8af8591135ec000fbe4bb474139ceec595d (patch)
tree40d5ba910995d886ca1d4e7cc3a0be7248319524 /tools/testing/selftests/filesystems/anon_inode_test.c
parentMerge tag 'gcc-minimum-version-6.16' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadkernel-4cb6c8af8591135ec000fbe4bb474139ceec595d.tar.gz
kernel-4cb6c8af8591135ec000fbe4bb474139ceec595d.zip
selftests/filesystems: Fix build of anon_inode_test
The newly added 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 did not contain the newly added test so once things were merged into mainline the build started failing - both parent commits are fine. Fixes: 3e406741b1989 ("Merge tag 'vfs-6.16-rc1.selftests' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs") Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/selftests/filesystems/anon_inode_test.c')
-rw-r--r--tools/testing/selftests/filesystems/anon_inode_test.c2
1 files changed, 1 insertions, 1 deletions
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)
{