]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: properly free CInode::ValidationContinuation
authorYan, Zheng <zyan@redhat.com>
Mon, 23 Nov 2015 12:03:23 +0000 (20:03 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 7 Mar 2016 07:59:12 +0000 (15:59 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/CInode.cc

index 5987c129d4f5e0f21ab6f0f0bdc721ca4cda4d81..ec59997dccdd7d52334012f82a27dfdda5a1973b 100644 (file)
@@ -3962,6 +3962,7 @@ void CInode::validate_disk_state(CInode::validated_data *results,
       } else if (fin) {
         fin->complete(get_rval());
       }
+      delete this;
     }
   };