summaryrefslogtreecommitdiff
path: root/include/linux/fscrypt_supp.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-01-05 21:45:00 +0300
committerTheodore Ts'o <tytso@mit.edu>2018-01-12 06:06:19 +0300
commita575784c6c13b8f1bae05fbba873e326ec73e289 (patch)
treedff99e19ed9a4e2c0158273fe784ff79eaafc148 /include/linux/fscrypt_supp.h
parentdcf0db9e5df369461c9d55282abbf66d263ef2db (diff)
downloadlinux-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_supp.h')
-rw-r--r--include/linux/fscrypt_supp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fscrypt_supp.h b/include/linux/fscrypt_supp.h
index ce61caf26f40..562a9bc04560 100644
--- a/include/linux/fscrypt_supp.h
+++ b/include/linux/fscrypt_supp.h
@@ -11,6 +11,9 @@
#ifndef _LINUX_FSCRYPT_SUPP_H
#define _LINUX_FSCRYPT_SUPP_H
+#include <linux/mm.h>
+#include <linux/slab.h>
+
/*
* fscrypt superblock flags
*/