As of
fc4cc39 new_repop claims the obc reference (from the clonerange
branch) but this caller didn't get fixed.
Signed-off-by: Sage Weil <sage@newdream.net>
uint64_t old_size = obc->obs.oi.size;
eversion_t old_version = obc->obs.oi.version;
- RepGather *repop = new_repop(ctx, obc, rep_tid);
+ RepGather *repop = new_repop(ctx, obc, rep_tid); // note: new_repop claims obc, ctx, ctx->op
ObjectStore::Transaction *t = &ctx->op_t;
eval_repop(repop);
repop->put();
- put_object_context(obc);
//int tr = osd->store->queue_transaction(&osr, t);
//assert(tr == 0);