summaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-01-16 14:35:17 +0100
committerIlya Dryomov <idryomov@gmail.com>2017-02-20 12:16:06 +0100
commit7fea24c6d4a553c59937ae4fef95c730a88125cb (patch)
tree6ec3fd77270991fd6c1dddac0a748787778d2f9a /net/ceph
parentd24cdcd3e40a6825135498e11c20c7976b9bf545 (diff)
downloadlinux-7fea24c6d4a553c59937ae4fef95c730a88125cb.tar.bz2
libceph: include linux/sched.h into crypto.c directly
Currently crypto.c gets linux/sched.h indirectly through linux/slab.h from linux/kasan.h. Include it directly for memalloc_noio_*() inlines. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph')
-rw-r--r--net/ceph/crypto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ceph/crypto.c b/net/ceph/crypto.c
index 292e33bd916e..85747b7f91a9 100644
--- a/net/ceph/crypto.c
+++ b/net/ceph/crypto.c
@@ -3,6 +3,7 @@
#include <linux/err.h>
#include <linux/scatterlist.h>
+#include <linux/sched.h>
#include <linux/slab.h>
#include <crypto/aes.h>
#include <crypto/skcipher.h>