summaryrefslogtreecommitdiff
path: root/net/ceph/crypto.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-01-16 16:35:17 +0300
committerIlya Dryomov <idryomov@gmail.com>2017-02-20 14:16:06 +0300
commit7fea24c6d4a553c59937ae4fef95c730a88125cb (patch)
tree6ec3fd77270991fd6c1dddac0a748787778d2f9a /net/ceph/crypto.c
parentd24cdcd3e40a6825135498e11c20c7976b9bf545 (diff)
downloadlinux-7fea24c6d4a553c59937ae4fef95c730a88125cb.tar.xz
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/crypto.c')
-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>