]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ReplicatedPG: set ctx->obc in simple_repop_create
authorSage Weil <sage@inktank.com>
Fri, 25 Oct 2013 05:23:22 +0000 (22:23 -0700)
committerSage Weil <sage@inktank.com>
Sat, 14 Dec 2013 00:35:55 +0000 (16:35 -0800)
Strangely nobody hss needed this yet, but we will shortly.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc

index 166eca1137a742b84a54fb17253faa95ad7ffc7b..69d010303240ec87d7f2141d429fc3a8a7dceb4c 100644 (file)
@@ -5225,6 +5225,7 @@ ReplicatedPG::RepGather *ReplicatedPG::simple_repop_create(ObjectContextRef obc)
   OpContext *ctx = new OpContext(OpRequestRef(), reqid, ops,
                                 &obc->obs, obc->ssc, this);
   ctx->mtime = ceph_clock_now(g_ceph_context);
+  ctx->obc = obc;
   RepGather *repop = new_repop(ctx, obc, rep_tid);
   return repop;
 }