libceph: split osdmap allocation and decode steps
authorIlya Dryomov <ilya.dryomov@inktank.com>
Thu, 13 Mar 2014 14:36:13 +0000 (16:36 +0200)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:07:37 +0000 (21:07 -0700)
commita2505d63ee0541d9b4685250b033192e68222e97
tree887b25757a76a7738290c17fb8ecd095bc0e68dd
parent38a8d560231b45489d5b12f5c7d0edfba94e1f30
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>
include/linux/ceph/osdmap.h
net/ceph/osd_client.c
net/ceph/osdmap.c