Skip to content

Commit d83ae73

Browse files
ebiggerstytso
authored andcommitted
fscrypto: remove unnecessary includes
This patch removes some #includes that are clearly not needed, such as a reference to ecryptfs, which is unrelated to the new filesystem encryption code. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent 8f39850 commit d83ae73

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

‎fs/crypto/crypto.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <linux/dcache.h>
2929
#include <linux/namei.h>
3030
#include <linux/fscrypto.h>
31-
#include <linux/ecryptfs.h>
3231

3332
static unsigned int num_prealloc_crypto_pages = 32;
3433
static unsigned int num_prealloc_crypto_ctxs = 128;

‎fs/crypto/fname.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
* This has not yet undergone a rigorous security audit.
1111
*/
1212

13-
#include <keys/encrypted-type.h>
14-
#include <keys/user-type.h>
1513
#include <linux/scatterlist.h>
1614
#include <linux/ratelimit.h>
1715
#include <linux/fscrypto.h>

‎fs/crypto/keyinfo.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@
88
* Written by Michael Halcrow, Ildar Muslukhov, and Uday Savagaonkar, 2015.
99
*/
1010

11-
#include <keys/encrypted-type.h>
1211
#include <keys/user-type.h>
13-
#include <linux/random.h>
1412
#include <linux/scatterlist.h>
15-
#include <uapi/linux/keyctl.h>
1613
#include <linux/fscrypto.h>
1714

1815
static void derive_crypt_complete(struct crypto_async_request *req, int rc)

0 commit comments

Comments
 (0)