hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/ceph/mon_client.h
....@@ -19,7 +19,7 @@
1919 struct ceph_fsid fsid;
2020 u32 epoch;
2121 u32 num_mon;
22
- struct ceph_entity_inst mon_inst[0];
22
+ struct ceph_entity_inst mon_inst[];
2323 };
2424
2525 struct ceph_mon_client;
....@@ -104,12 +104,12 @@
104104 #endif
105105 };
106106
107
-extern struct ceph_monmap *ceph_monmap_decode(void *p, void *end);
108107 extern int ceph_monmap_contains(struct ceph_monmap *m,
109108 struct ceph_entity_addr *addr);
110109
111110 extern int ceph_monc_init(struct ceph_mon_client *monc, struct ceph_client *cl);
112111 extern void ceph_monc_stop(struct ceph_mon_client *monc);
112
+extern void ceph_monc_reopen_session(struct ceph_mon_client *monc);
113113
114114 enum {
115115 CEPH_SUB_MONMAP = 0,
....@@ -142,7 +142,7 @@
142142 int ceph_monc_get_version_async(struct ceph_mon_client *monc, const char *what,
143143 ceph_monc_callback_t cb, u64 private_data);
144144
145
-int ceph_monc_blacklist_add(struct ceph_mon_client *monc,
145
+int ceph_monc_blocklist_add(struct ceph_mon_client *monc,
146146 struct ceph_entity_addr *client_addr);
147147
148148 extern int ceph_monc_open_session(struct ceph_mon_client *monc);