.. | .. |
---|
19 | 19 | struct ceph_fsid fsid; |
---|
20 | 20 | u32 epoch; |
---|
21 | 21 | u32 num_mon; |
---|
22 | | - struct ceph_entity_inst mon_inst[0]; |
---|
| 22 | + struct ceph_entity_inst mon_inst[]; |
---|
23 | 23 | }; |
---|
24 | 24 | |
---|
25 | 25 | struct ceph_mon_client; |
---|
.. | .. |
---|
104 | 104 | #endif |
---|
105 | 105 | }; |
---|
106 | 106 | |
---|
107 | | -extern struct ceph_monmap *ceph_monmap_decode(void *p, void *end); |
---|
108 | 107 | extern int ceph_monmap_contains(struct ceph_monmap *m, |
---|
109 | 108 | struct ceph_entity_addr *addr); |
---|
110 | 109 | |
---|
111 | 110 | extern int ceph_monc_init(struct ceph_mon_client *monc, struct ceph_client *cl); |
---|
112 | 111 | extern void ceph_monc_stop(struct ceph_mon_client *monc); |
---|
| 112 | +extern void ceph_monc_reopen_session(struct ceph_mon_client *monc); |
---|
113 | 113 | |
---|
114 | 114 | enum { |
---|
115 | 115 | CEPH_SUB_MONMAP = 0, |
---|
.. | .. |
---|
142 | 142 | int ceph_monc_get_version_async(struct ceph_mon_client *monc, const char *what, |
---|
143 | 143 | ceph_monc_callback_t cb, u64 private_data); |
---|
144 | 144 | |
---|
145 | | -int ceph_monc_blacklist_add(struct ceph_mon_client *monc, |
---|
| 145 | +int ceph_monc_blocklist_add(struct ceph_mon_client *monc, |
---|
146 | 146 | struct ceph_entity_addr *client_addr); |
---|
147 | 147 | |
---|
148 | 148 | extern int ceph_monc_open_session(struct ceph_mon_client *monc); |
---|