]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd_replay: call the member decode() explicitly
authorKefu Chai <kchai@redhat.com>
Mon, 22 Apr 2019 11:26:54 +0000 (19:26 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 23 Apr 2019 12:33:13 +0000 (20:33 +0800)
commit3ca9bba4ef674c6b3c50ee4c55a7af970598cc19
tree6bf9f90ebe0d081c5527d729cbd57fcb8ec2a1e5
parent7f7fdc721184ea567840e413f67fb13e3674e30d
rbd_replay: call the member decode() explicitly

otherwise, the one defined using WRITE_RAW_ENCODER is called instead.
so in this change, rename the the member function which happens to have
the same signature with

decode(type &v, ::ceph::bufferlist::const_iterator& p)

where `type` is `__u8`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/rbd_replay/ActionTypes.cc
src/rbd_replay/ActionTypes.h