From d3d4e068396e01c58832e0ea1224ca34bafb808e Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Tue, 7 Jun 2016 00:11:34 -0400 Subject: [PATCH] librbd: leaked AioCompletion if IO issued after image shut down Signed-off-by: Jason Dillaman --- src/librbd/AioImageRequestWQ.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/librbd/AioImageRequestWQ.cc b/src/librbd/AioImageRequestWQ.cc index 279b3770dc0cb..fba79339fb740 100644 --- a/src/librbd/AioImageRequestWQ.cc +++ b/src/librbd/AioImageRequestWQ.cc @@ -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; } -- 2.39.5