diff options
author | David Howells <dhowells@redhat.com> | 2018-11-02 02:36:32 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-03-21 01:49:06 +0300 |
commit | f1b5618e013af28b3c78daf424436a79674423c0 (patch) | |
tree | 7fea6c6bb8ef683b92fcabaa9e3f48ed2ec8eeb0 /samples/statx/Makefile | |
parent | cf3cba4a429be43e5527a3f78859b1bfd9ebc5fb (diff) | |
download | linux-f1b5618e013af28b3c78daf424436a79674423c0.tar.xz |
vfs: Add a sample program for the new mount API
Add a sample program to demonstrate fsopen/fsmount/move_mount to mount
something.
To make it compile on all arches, irrespective of whether or not syscall
numbers are assigned, define the syscall number to -1 if it isn't to cause
the kernel to return -ENOSYS.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'samples/statx/Makefile')
-rw-r--r-- | samples/statx/Makefile | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/samples/statx/Makefile b/samples/statx/Makefile deleted file mode 100644 index 59df7c25a9d1..000000000000 --- a/samples/statx/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# List of programs to build -hostprogs-$(CONFIG_SAMPLE_STATX) := test-statx - -# Tell kbuild to always build the programs -always := $(hostprogs-y) - -HOSTCFLAGS_test-statx.o += -I$(objtree)/usr/include |