summaryrefslogtreecommitdiffstats
path: root/lib/checksum.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2019-06-03 20:45:16 +0200
committerIlya Dryomov <idryomov@gmail.com>2019-07-08 14:01:43 +0200
commit6c37f0e64173571914a443f74d36e5a22dabfc05 (patch)
tree2ad4506a710e7cc556bc4da80a74c8f79bb08d79 /lib/checksum.c
parentlibceph: fix sa_family just after reading address (diff)
downloadlinux-6c37f0e64173571914a443f74d36e5a22dabfc05.tar.xz
linux-6c37f0e64173571914a443f74d36e5a22dabfc05.zip
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>
Diffstat (limited to 'lib/checksum.c')
0 files changed, 0 insertions, 0 deletions