diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2016-09-07 21:47:21 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-16 17:57:46 +0300 |
commit | 9d5a1dcebfbe0e421412fcf5ab86d30e2e65bab4 (patch) | |
tree | cb065ab87a144924d42ac60bf90a675d00731fef /arch/x86/kvm/debugfs.c | |
parent | 3e3f50262eb441d0fd1de4dce06739e9c0fe7c61 (diff) | |
download | linux-9d5a1dcebfbe0e421412fcf5ab86d30e2e65bab4.tar.xz |
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/debugfs.c')
0 files changed, 0 insertions, 0 deletions