osd: Remove extra call to release_op_ctx_locks in eval_repop. It is

called in remove_repop.

Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
This commit is contained in:
Zhiqiang Wang 2014-08-27 16:20:31 +08:00
parent 3bfbc141df
commit 146e60d714

View File

@ -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