From 90eb1ec1e00bda8ce3cdd4dab5535ff9bf2b99de Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 24 Oct 2013 22:23:22 -0700 Subject: [PATCH] osd/ReplicatedPG: set ctx->obc in simple_repop_create Strangely nobody hss needed this yet, but we will shortly. Signed-off-by: Sage Weil --- src/osd/ReplicatedPG.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 166eca1137a74..69d010303240e 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -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; } -- 2.39.5