From: Yan, Zheng Date: Tue, 20 Jun 2017 03:55:03 +0000 (+0800) Subject: osdc/Objecter: fix inflight_ops update X-Git-Tag: v12.1.0~42^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F15768%2Fhead;p=ceph.git osdc/Objecter: fix inflight_ops update Signed-off-by: "Yan, Zheng" --- diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index 6e4d24259cd0..97f97e027500 100644 --- a/src/osdc/Objecter.cc +++ b/src/osdc/Objecter.cc @@ -3101,7 +3101,7 @@ void Objecter::_finish_op(Op *op, int r) assert(check_latest_map_ops.find(op->tid) == check_latest_map_ops.end()); - inflight_ops++; + inflight_ops--; op->put(); }