Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests/filesystems: move wrapper.h out of overlayfs subdir

This is not an overlayfs specific header.

Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/20250509133240.529330-2-amir73il@gmail.com
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>

authored by

Amir Goldstein and committed by
Christian Brauner
0bd92b9f d37d4720

+6 -4
+1 -1
tools/testing/selftests/filesystems/overlayfs/Makefile
··· 4 4 CFLAGS += $(KHDR_INCLUDES) 5 5 LDLIBS += -lcap 6 6 7 - LOCAL_HDRS += wrappers.h log.h 7 + LOCAL_HDRS += ../wrappers.h log.h 8 8 9 9 TEST_GEN_PROGS := dev_in_maps 10 10 TEST_GEN_PROGS += set_layers_via_fds
+1 -1
tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c
··· 17 17 18 18 #include "../../kselftest.h" 19 19 #include "log.h" 20 - #include "wrappers.h" 20 + #include "../wrappers.h" 21 21 22 22 static long get_file_dev_and_inode(void *addr, struct statx *stx) 23 23 {
+1 -1
tools/testing/selftests/filesystems/overlayfs/set_layers_via_fds.c
··· 16 16 #include "../../pidfd/pidfd.h" 17 17 #include "log.h" 18 18 #include "../utils.h" 19 - #include "wrappers.h" 19 + #include "../wrappers.h" 20 20 21 21 FIXTURE(set_layers_via_fds) { 22 22 int pidfd;
tools/testing/selftests/filesystems/overlayfs/wrappers.h tools/testing/selftests/filesystems/wrappers.h
+2
tools/testing/selftests/mount_setattr/Makefile
··· 2 2 # Makefile for mount selftests. 3 3 CFLAGS = -g $(KHDR_INCLUDES) -Wall -O2 -pthread 4 4 5 + LOCAL_HDRS += ../filesystems/wrappers.h 6 + 5 7 TEST_GEN_PROGS := mount_setattr_test 6 8 7 9 include ../lib.mk
+1 -1
tools/testing/selftests/mount_setattr/mount_setattr_test.c
··· 20 20 #include <stdarg.h> 21 21 #include <linux/mount.h> 22 22 23 - #include "../filesystems/overlayfs/wrappers.h" 23 + #include "../filesystems/wrappers.h" 24 24 #include "../kselftest_harness.h" 25 25 26 26 #ifndef CLONE_NEWNS