op->mark_started();
- rm->localt.append(rm->opt);
- rm->localt.register_on_commit(
+ rm->opt.register_on_commit(
parent->bless_context(
new C_OSD_RepModifyCommit(this, rm)));
rm->localt.register_on_applied(
parent->bless_context(
new C_OSD_RepModifyApply(this, rm)));
- parent->queue_transaction(&(rm->localt), op);
+ list<ObjectStore::Transaction*> tls;
+ tls.push_back(&(rm->localt));
+ tls.push_back(&(rm->opt));
+ parent->queue_transactions(tls, op);
// op is cleaned up by oncommit/onapply when both are executed
}