]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ObjectStore: fix OP_COLL_ADD dump output
authorSamuel Just <sam.just@inktank.com>
Sun, 9 Feb 2014 01:37:15 +0000 (17:37 -0800)
committerSamuel Just <sam.just@inktank.com>
Mon, 17 Feb 2014 22:24:55 +0000 (14:24 -0800)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/os/ObjectStore.cc

index 7496c45841857f6fc8c6861edd0592d0fe6de415..8638e062f58922abd1eb78fadf85025b6ed81805 100644 (file)
@@ -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;