diff options
author | Eric Biggers <ebiggers@google.com> | 2018-01-05 21:45:00 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-01-12 06:06:19 +0300 |
commit | a575784c6c13b8f1bae05fbba873e326ec73e289 (patch) | |
tree | dff99e19ed9a4e2c0158273fe784ff79eaafc148 /include/linux/fscrypt.h | |
parent | dcf0db9e5df369461c9d55282abbf66d263ef2db (diff) | |
download | linux-a575784c6c13b8f1bae05fbba873e326ec73e289.tar.xz |
fscrypt: trim down fscrypt.h includes
fscrypt.h included way too many other headers, given that it is included
by filesystems both with and without encryption support. Trim down the
includes list by moving the needed includes into more appropriate
places, and removing the unneeded ones.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/fscrypt.h')
-rw-r--r-- | include/linux/fscrypt.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/fscrypt.h b/include/linux/fscrypt.h index 3045fc49d3ca..071ebabfc287 100644 --- a/include/linux/fscrypt.h +++ b/include/linux/fscrypt.h @@ -14,13 +14,7 @@ #ifndef _LINUX_FSCRYPT_H #define _LINUX_FSCRYPT_H -#include <linux/key.h> #include <linux/fs.h> -#include <linux/mm.h> -#include <linux/bio.h> -#include <linux/dcache.h> -#include <crypto/skcipher.h> -#include <uapi/linux/fs.h> #define FS_CRYPTO_BLOCK_SIZE 16 |