From 6768586cf5efd259215a79de27ecabd59ba4fede Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 11 Apr 2011 16:21:41 -0700 Subject: [PATCH] osd: take reference for RepModify We put in the completions on done; take the matching reference. 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 371de8cb083ff..68cff747666fc 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -2969,6 +2969,7 @@ void ReplicatedPG::sub_op_modify(MOSDSubOp *op) RepModify *rm = new RepModify; rm->pg = this; + get(); rm->op = op; rm->ctx = 0; rm->ackerosd = ackerosd; -- 2.39.5