aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/fscrypt.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-08-04 19:35:43 -0700
committerEric Biggers <ebiggers@google.com>2019-08-12 19:05:06 -0700
commit7af0ab0d3aab951518b0d520f95e9f6b1995ec69 (patch)
tree313d5b184098be40eec2beda3e3e5002d98005c2 /include/linux/fscrypt.h
parentfscrypt: use ENOPKG when crypto API support missing (diff)
downloadwireguard-linux-7af0ab0d3aab951518b0d520f95e9f6b1995ec69.tar.xz
wireguard-linux-7af0ab0d3aab951518b0d520f95e9f6b1995ec69.zip
fs, fscrypt: move uapi definitions to new header <linux/fscrypt.h>
More fscrypt definitions are being added, and we shouldn't use a disproportionate amount of space in <linux/fs.h> for fscrypt stuff. So move the fscrypt definitions to a new header <linux/fscrypt.h>. For source compatibility with existing userspace programs, <linux/fs.h> still includes the new header. Reviewed-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'include/linux/fscrypt.h')
-rw-r--r--include/linux/fscrypt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fscrypt.h b/include/linux/fscrypt.h
index bd8f207a2fb6..81c0c754f8b2 100644
--- a/include/linux/fscrypt.h
+++ b/include/linux/fscrypt.h
@@ -16,6 +16,7 @@
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/slab.h>
+#include <uapi/linux/fscrypt.h>
#define FS_CRYPTO_BLOCK_SIZE 16