osdc: op left in check_lastest_map_ops

Call op_cancel_map_check before cancel_op() in send_linger()

Fixes: #5784

Signed-off-by: David Zafman <david.zafman@inktank.com>
This commit is contained in:
David Zafman 2013-07-31 11:08:34 -07:00
parent d651658d17
commit 600e6aca2c

View File

@ -295,6 +295,7 @@ void Objecter::send_linger(LingerOp *info)
// repeat send. cancel old registeration op, if any.
if (ops.count(info->register_tid)) {
Op *o = ops[info->register_tid];
op_cancel_map_check(o);
cancel_op(o);
}
info->register_tid = _op_submit(o);