diff options
author | Eric Biggers <ebiggers@google.com> | 2018-01-05 19:45:00 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-01-12 04:06:19 +0100 |
commit | a575784c6c13b8f1bae05fbba873e326ec73e289 (patch) | |
tree | dff99e19ed9a4e2c0158273fe784ff79eaafc148 /fs/crypto/crypto.c | |
parent | fscrypt: move fscrypt_is_dot_dotdot() to fs/crypto/fname.c (diff) | |
download | linux-a575784c6c13b8f1bae05fbba873e326ec73e289.tar.xz linux-a575784c6c13b8f1bae05fbba873e326ec73e289.zip |
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 'fs/crypto/crypto.c')
-rw-r--r-- | fs/crypto/crypto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/crypto/crypto.c b/fs/crypto/crypto.c index 732a786cce9d..ce654526c0fb 100644 --- a/fs/crypto/crypto.c +++ b/fs/crypto/crypto.c @@ -27,6 +27,7 @@ #include <linux/dcache.h> #include <linux/namei.h> #include <crypto/aes.h> +#include <crypto/skcipher.h> #include "fscrypt_private.h" static unsigned int num_prealloc_crypto_pages = 32; |