From 146e60d7149eae27b2c6735f398fbc34e71451d1 Mon Sep 17 00:00:00 2001 From: Zhiqiang Wang Date: Wed, 27 Aug 2014 16:20:31 +0800 Subject: [PATCH] osd: Remove extra call to release_op_ctx_locks in eval_repop. It is called in remove_repop. Signed-off-by: Zhiqiang Wang --- src/osd/ReplicatedPG.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 6caee253d55..6c0c42d9a15 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -6874,8 +6874,6 @@ void ReplicatedPG::eval_repop(RepGather *repop) if (repop->all_applied && repop->all_committed) { repop->rep_done = true; - release_op_ctx_locks(repop->ctx); - calc_min_last_complete_ondisk(); // kick snap_trimmer if necessary