diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ceph/libceph.h | 2 | ||||
-rw-r--r-- | include/linux/ceph/messenger.h | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index 92eef7c3d3c5..927361c4b0a8 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h | |||
@@ -131,7 +131,7 @@ struct ceph_client { | |||
131 | u32 supported_features; | 131 | u32 supported_features; |
132 | u32 required_features; | 132 | u32 required_features; |
133 | 133 | ||
134 | struct ceph_messenger *msgr; /* messenger instance */ | 134 | struct ceph_messenger msgr; /* messenger instance */ |
135 | struct ceph_mon_client monc; | 135 | struct ceph_mon_client monc; |
136 | struct ceph_osd_client osdc; | 136 | struct ceph_osd_client osdc; |
137 | 137 | ||
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index 74f6c9bd8074..3fbd4be804ed 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h | |||
@@ -211,10 +211,11 @@ extern int ceph_msgr_init(void); | |||
211 | extern void ceph_msgr_exit(void); | 211 | extern void ceph_msgr_exit(void); |
212 | extern void ceph_msgr_flush(void); | 212 | extern void ceph_msgr_flush(void); |
213 | 213 | ||
214 | extern struct ceph_messenger *ceph_messenger_create( | 214 | extern void ceph_messenger_init(struct ceph_messenger *msgr, |
215 | struct ceph_entity_addr *myaddr, | 215 | struct ceph_entity_addr *myaddr, |
216 | u32 features, u32 required); | 216 | u32 supported_features, |
217 | extern void ceph_messenger_destroy(struct ceph_messenger *); | 217 | u32 required_features, |
218 | bool nocrc); | ||
218 | 219 | ||
219 | extern void ceph_con_init(struct ceph_messenger *msgr, | 220 | extern void ceph_con_init(struct ceph_messenger *msgr, |
220 | struct ceph_connection *con); | 221 | struct ceph_connection *con); |