From: Samuel Just Date: Sun, 9 Feb 2014 01:37:15 +0000 (-0800) Subject: ObjectStore: fix OP_COLL_ADD dump output X-Git-Tag: v0.78~163^2~58 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=06ec9bd42bf820f79f47b821d9cf3ef39568f718;p=ceph.git ObjectStore: fix OP_COLL_ADD dump output Signed-off-by: Samuel Just --- diff --git a/src/os/ObjectStore.cc b/src/os/ObjectStore.cc index 7496c458418..8638e062f58 100644 --- a/src/os/ObjectStore.cc +++ b/src/os/ObjectStore.cc @@ -323,8 +323,8 @@ void ObjectStore::Transaction::dump(ceph::Formatter *f) case Transaction::OP_COLL_ADD: { - coll_t ocid = i.get_cid(); coll_t ncid = i.get_cid(); + coll_t ocid = i.get_cid(); ghobject_t oid = i.get_oid(); f->dump_string("op_name", "collection_add"); f->dump_stream("src_collection") << ocid;