From: Paolo Bonzini Date: Tue, 3 Jun 2014 11:44:17 +0000 (+0200) Subject: KVM: add missing cleanup_srcu_struct X-Git-Tag: v3.16-rc1~30^2~8^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=820b3fcdeb80d30410f4427d2cbf9161c35fdeef;p=platform%2Fkernel%2Flinux-stable.git KVM: add missing cleanup_srcu_struct Reported-by: hrg Signed-off-by: Paolo Bonzini --- diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 95b4c2b3906a..c86be0f983db 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -608,6 +608,7 @@ static void kvm_destroy_vm(struct kvm *kvm) kvm_arch_destroy_vm(kvm); kvm_destroy_devices(kvm); kvm_free_physmem(kvm); + cleanup_srcu_struct(&kvm->irq_srcu); cleanup_srcu_struct(&kvm->srcu); kvm_arch_free_vm(kvm); hardware_disable_all();