]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: leaked AioCompletion if IO issued after image shut down
authorJason Dillaman <dillaman@redhat.com>
Tue, 7 Jun 2016 04:11:34 +0000 (00:11 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 7 Jun 2016 11:30:48 +0000 (07:30 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AioImageRequestWQ.cc

index 279b3770dc0cbcf1dd4fd310d8b557efb0f949cf..fba79339fb74012ecf6c98f07d3ad03eb557b033 100644 (file)
@@ -400,7 +400,6 @@ int AioImageRequestWQ::start_in_flight_op(AioCompletion *c) {
     CephContext *cct = m_image_ctx.cct;
     lderr(cct) << "IO received on closed image" << dendl;
 
-    c->get();
     c->fail(-ESHUTDOWN);
     return false;
   }