]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix bluestore_wal_transaction_t encoding test 7342/head
authorKefu Chai <kchai@redhat.com>
Mon, 25 Jan 2016 07:08:02 +0000 (15:08 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 25 Jan 2016 07:08:17 +0000 (15:08 +0800)
commit4d30e7cf2174e11fc8b19bda8f4034ff212d06d3
tree5096fb6bf28b4698a0b43492ec46fb58d4e73dcb
parent2488ad1ac9f11772a2805acd864214be428eb8ac
os/bluestore: fix bluestore_wal_transaction_t encoding test

bluestore_wal_op_t::op is encoded/dumped but it is not
initialized in its ctor. so set it to 0 in its ctor. 0 is not an
valid op though, but it helps with debugging and testing.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/bluestore/bluestore_types.h