Jeff Layton 6c37f0e641 libceph: add ceph_decode_entity_addr
Add a function for decoding an entity_addr_t. Once
CEPH_FEATURE_MSG_ADDR2 is enabled, the server daemons will start
encoding entity_addr_t differently.

Add a new helper function that can handle either format.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-07-08 14:01:43 +02:00
..
2018-08-02 21:33:21 +02:00
2018-08-02 21:33:21 +02:00
2018-08-02 21:33:21 +02:00
2018-08-02 21:33:24 +02:00
2018-09-28 12:46:07 +08:00
2018-09-28 12:46:07 +08:00
2019-07-08 14:01:43 +02:00
2019-07-08 14:01:43 +02:00
2019-05-16 16:24:01 -07:00