]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: use correct accessor function for __kvm_memslots
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 7 Jul 2017 13:49:00 +0000 (15:49 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 10 Jul 2017 10:28:46 +0000 (12:28 +0200)
commit7e988b103d0d52190244517edc76e649071284bb
treebf77f5167fd34482b7b77b0aa51a93dee1b1c5d5
parenta80cf7b5f4149753d5f19c872a47e66195b167d4
KVM: use correct accessor function for __kvm_memslots

kvm memslots are protected by srcu and not by rcu. We must use
srcu_dereference_check instead of rcu_dereference_check.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h