KVM: x86: Explicitly state lockdep condition of msr_filter update
authorMichal Luczaj <mhal@rbox.co>
Sat, 7 Jan 2023 00:12:54 +0000 (01:12 +0100)
committerSean Christopherson <seanjc@google.com>
Fri, 3 Feb 2023 23:30:39 +0000 (15:30 -0800)
commit1fdefb8bd862d7c17fc2526ec9fdfb080c15da45
treeb3b9e05d75b62526bc3fc6137fdf722190651b19
parent4d85cfcaa82f0ceb5dcb7ad369a2cc7efb32c65c
KVM: x86: Explicitly state lockdep condition of msr_filter update

Replace `1` with the actual mutex_is_locked() check.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Link: https://lore.kernel.org/r/20230107001256.2365304-5-mhal@rbox.co
[sean: delete the comment that explained the hardocded '1']
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c