]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test_idempotent_sequence: fix collection_move arg order
authorSage Weil <sage.weil@dreamhost.com>
Thu, 12 Apr 2012 22:00:10 +0000 (15:00 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Sat, 14 Apr 2012 03:38:22 +0000 (20:38 -0700)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/test/filestore_test/DeterministicOpSequence.cc

index 1d8b63efd7d786a543fcd1abd111c3ea785d4cae..83cdec3d0c181bb9a11a7fc11f61eeee5e627fec 100644 (file)
@@ -71,7 +71,7 @@ void DeterministicOpSequence::run_one_op(int op, rngen_t& gen)
     do_remove(gen);
     break;
   case DSOP_COLL_MOVE:
-    //do_coll_move(gen);
+    do_coll_move(gen);
     break;
   case DSOP_COLL_ADD:
     //do_coll_add(gen);
@@ -451,7 +451,7 @@ void DeterministicOpSequence::_do_coll_move(coll_t new_coll,
   ObjectStore::Transaction t;
   note_txn(&t);
   t.remove(new_coll, obj);
-  t.collection_move(old_coll, new_coll, obj);
+  t.collection_move(new_coll, old_coll, obj);
   m_store->apply_transaction(t);
 }