diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2016-09-07 20:47:21 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-16 16:57:46 +0200 |
commit | 9d5a1dcebfbe0e421412fcf5ab86d30e2e65bab4 (patch) | |
tree | cb065ab87a144924d42ac60bf90a675d00731fef /arch/x86/kvm/hyperv.c | |
parent | kvm: x86: drop read_tsc_offset() (diff) | |
download | linux-9d5a1dcebfbe0e421412fcf5ab86d30e2e65bab4.tar.xz linux-9d5a1dcebfbe0e421412fcf5ab86d30e2e65bab4.zip |
kvm: kvm_destroy_vm_debugfs(): check debugfs_stat_data pointer
This make it possible to call kvm_destroy_vm_debugfs() from
kvm_create_vm_debugfs() in error conditions.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/hyperv.c')
0 files changed, 0 insertions, 0 deletions