diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-06-03 14:45:16 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-07-08 14:01:43 +0200 |
commit | 6c37f0e64173571914a443f74d36e5a22dabfc05 (patch) | |
tree | 2ad4506a710e7cc556bc4da80a74c8f79bb08d79 /net/ceph/Makefile | |
parent | bc07532cc51f4c33cb6136405c9807c5961e468b (diff) | |
download | linux-stable-6c37f0e64173571914a443f74d36e5a22dabfc05.tar.gz linux-stable-6c37f0e64173571914a443f74d36e5a22dabfc05.tar.bz2 linux-stable-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 'net/ceph/Makefile')
-rw-r--r-- | net/ceph/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/Makefile b/net/ceph/Makefile index db09defe27d0..59d0ba2072de 100644 --- a/net/ceph/Makefile +++ b/net/ceph/Makefile @@ -5,7 +5,7 @@ obj-$(CONFIG_CEPH_LIB) += libceph.o libceph-y := ceph_common.o messenger.o msgpool.o buffer.o pagelist.o \ - mon_client.o \ + mon_client.o decode.o \ cls_lock_client.o \ osd_client.o osdmap.o crush/crush.o crush/mapper.o crush/hash.o \ striper.o \ |