libceph: include linux/sched.h into crypto.c directly
authorIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2017 13:35:17 +0000 (14:35 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Feb 2017 11:16:06 +0000 (12:16 +0100)
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>
net/ceph/crypto.c

index 292e33bd916e650c0317ab630a0c60a400d21c7d..85747b7f91a91894d4902636d5145dc957184df3 100644 (file)
@@ -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>