]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
libceph: fix some missing includes
authorIlya Dryomov <idryomov@gmail.com>
Tue, 7 Jun 2016 19:57:15 +0000 (21:57 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 28 Jul 2016 00:55:35 +0000 (02:55 +0200)
- decode.h needs slab.h for kmalloc()
- osd_client.h needs msgpool.h for struct ceph_msgpool
- msgpool.h doesn't need messenger.h

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/decode.h
include/linux/ceph/msgpool.h
include/linux/ceph/osd_client.h
net/ceph/msgpool.c

index 19e9932f3e77194eae3f9be57b66fdfa74afbf51..e83f3c81ef433e6983469ee1c6f7075a4457b4f5 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <linux/err.h>
 #include <linux/bug.h>
+#include <linux/slab.h>
 #include <linux/time.h>
 #include <asm/unaligned.h>
 
index 4b0d38960726dd5223d18ec8856bb7d39ffde01e..ddd0d48d0384496fcac771a6d15b0d49ca4182a5 100644 (file)
@@ -2,7 +2,6 @@
 #define _FS_CEPH_MSGPOOL
 
 #include <linux/mempool.h>
-#include <linux/ceph/messenger.h>
 
 /*
  * we use memory pools for preallocating messages we may receive, to
index 1b3b6e15539238f8d88696762548de9d786c4349..858932304260ece29dcf38101c3aebac1ff3d61e 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/ceph/types.h>
 #include <linux/ceph/osdmap.h>
 #include <linux/ceph/messenger.h>
+#include <linux/ceph/msgpool.h>
 #include <linux/ceph/auth.h>
 #include <linux/ceph/pagelist.h>
 
index ddec1c10ac80fc3b993cdc7ba5524e317382bd04..aaed59a47b1dc6b55987bd33768c54fe656c7b23 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/types.h>
 #include <linux/vmalloc.h>
 
+#include <linux/ceph/messenger.h>
 #include <linux/ceph/msgpool.h>
 
 static void *msgpool_alloc(gfp_t gfp_mask, void *arg)