Unverified Commit 0bd92b9f authored by Amir Goldstein's avatar Amir Goldstein Committed by Christian Brauner
Browse files

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

parent d37d4720
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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)
{
+1 −1
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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
Loading