projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24cdcd
)
libceph: include linux/sched.h into crypto.c directly
author
Ilya Dryomov
<idryomov@gmail.com>
Mon, 16 Jan 2017 13:35:17 +0000
(14:35 +0100)
committer
Ilya 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
patch
|
blob
|
history
diff --git
a/net/ceph/crypto.c
b/net/ceph/crypto.c
index
292e33b
..
85747b7
100644
(file)
--- 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>