tools include uapi: Grab a copy of linux/fs.h
Subsystems (2)
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: f443f38c5789ece6ebe59ae21c27bf861e61c4e2 Gitweb: https://git.kernel.org/tip/f443f38c5789ece6ebe59ae21c27bf861e61c4e2 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Wed, 24 Oct 2018 14:31:12 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 30 Oct 2018 11:46:22 -0300
tools include uapi: Grab a copy of linux/fs.h
We'll use it to create tables for the 'flags' argument to the 'mount' and 'umount' syscalls.
Add it to check_headers.sh so that when a new protocol gets added we get a notification during the build process.
Cc Adrian Hunter <[email protected]>
Cc Benjamin Peterson <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
---
{include => tools/include}/uapi/linux/fs.h | 4 ++--
tools/perf/check-headers.sh | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)tools/include/uapi/linux/fs.h renamed from include/uapi/linux/fs.h +2 -2
@@ -279,8 +279,8 @@ struct fsxattr {#define FS_ENCRYPTION_MODE_AES_256_CTS 4#define FS_ENCRYPTION_MODE_AES_128_CBC 5#define FS_ENCRYPTION_MODE_AES_128_CTS 6 -#define FS_ENCRYPTION_MODE_SPECK128_256_XTS 7/* Removed, do not use. */ -#define FS_ENCRYPTION_MODE_SPECK128_256_CTS 8/* Removed, do not use. */ +#define FS_ENCRYPTION_MODE_SPECK128_256_XTS 7 +#define FS_ENCRYPTION_MODE_SPECK128_256_CTS 8struct fscrypt_policy {__u8 version;
tools/perf/check-headers.sh +1 -0
@@ -5,6 +5,7 @@ HEADERS=' include/uapi/drm/drm.h include/uapi/drm/i915_drm.h include/uapi/linux/fcntl.h +include/uapi/linux/fs.h include/uapi/linux/kcmp.h include/uapi/linux/kvm.h include/uapi/linux/in.h