summaryrefslogtreecommitdiffstats
path: root/src/librbd/operation/ObjectMapIterate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/librbd/operation/ObjectMapIterate.cc')
-rw-r--r--src/librbd/operation/ObjectMapIterate.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librbd/operation/ObjectMapIterate.cc b/src/librbd/operation/ObjectMapIterate.cc
index 5276388d09f..35119e0f5cd 100644
--- a/src/librbd/operation/ObjectMapIterate.cc
+++ b/src/librbd/operation/ObjectMapIterate.cc
@@ -47,6 +47,8 @@ public:
if (should_complete(r)) {
ldout(image_ctx.cct, 20) << m_oid << " C_VerifyObjectCallback completed "
<< dendl;
+ m_io_ctx.close();
+
this->finish(r);
delete this;
}