]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osdc/Objecter: fix inflight_ops update 15768/head
authorYan, Zheng <zyan@redhat.com>
Tue, 20 Jun 2017 03:55:03 +0000 (11:55 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 20 Jun 2017 03:55:42 +0000 (11:55 +0800)
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/osdc/Objecter.cc

index 6e4d24259cd02f604c3fab0119816549b0a679db..97f97e0275003504c3abbbc2e7d11ffda1f9f73e 100644 (file)
@@ -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();
 }