aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-03-13 10:36:13 -0400
committerSage Weil <sage@inktank.com>2014-04-05 00:07:37 -0400
commita2505d63ee0541d9b4685250b033192e68222e97 (patch)
tree887b25757a76a7738290c17fb8ecd095bc0e68dd /include/linux/ceph
parent38a8d560231b45489d5b12f5c7d0edfba94e1f30 (diff)
libceph: split osdmap allocation and decode steps
Split osdmap allocation and initialization into a separate function, ceph_osdmap_decode(). Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r--include/linux/ceph/osdmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ceph/osdmap.h b/include/linux/ceph/osdmap.h
index 8c8b3cefc28b..46c3e304c3d8 100644
--- a/include/linux/ceph/osdmap.h
+++ b/include/linux/ceph/osdmap.h
@@ -156,7 +156,7 @@ static inline int ceph_decode_pgid(void **p, void *end, struct ceph_pg *pgid)
156 return 0; 156 return 0;
157} 157}
158 158
159extern struct ceph_osdmap *osdmap_decode(void **p, void *end); 159extern struct ceph_osdmap *ceph_osdmap_decode(void **p, void *end);
160extern struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end, 160extern struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end,
161 struct ceph_osdmap *map, 161 struct ceph_osdmap *map,
162 struct ceph_messenger *msgr); 162 struct ceph_messenger *msgr);