mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
d37d4720c3
commit
0bd92b9fe5
6 changed files with 6 additions and 4 deletions
|
@ -4,7 +4,7 @@ CFLAGS += -Wall
|
|||
CFLAGS += $(KHDR_INCLUDES)
|
||||
LDLIBS += -lcap
|
||||
|
||||
LOCAL_HDRS += wrappers.h log.h
|
||||
LOCAL_HDRS += ../wrappers.h log.h
|
||||
|
||||
TEST_GEN_PROGS := dev_in_maps
|
||||
TEST_GEN_PROGS += set_layers_via_fds
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include "../../kselftest.h"
|
||||
#include "log.h"
|
||||
#include "wrappers.h"
|
||||
#include "../wrappers.h"
|
||||
|
||||
static long get_file_dev_and_inode(void *addr, struct statx *stx)
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "../../pidfd/pidfd.h"
|
||||
#include "log.h"
|
||||
#include "../utils.h"
|
||||
#include "wrappers.h"
|
||||
#include "../wrappers.h"
|
||||
|
||||
FIXTURE(set_layers_via_fds) {
|
||||
int pidfd;
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
# Makefile for mount selftests.
|
||||
CFLAGS = -g $(KHDR_INCLUDES) -Wall -O2 -pthread
|
||||
|
||||
LOCAL_HDRS += ../filesystems/wrappers.h
|
||||
|
||||
TEST_GEN_PROGS := mount_setattr_test
|
||||
|
||||
include ../lib.mk
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <stdarg.h>
|
||||
#include <linux/mount.h>
|
||||
|
||||
#include "../filesystems/overlayfs/wrappers.h"
|
||||
#include "../filesystems/wrappers.h"
|
||||
#include "../kselftest_harness.h"
|
||||
|
||||
#ifndef CLONE_NEWNS
|
||||
|
|
Loading…
Add table
Reference in a new issue