diff options
author | Sean Christopherson <[email protected]> | 2023-02-02 18:27:50 +0000 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-03-17 16:02:07 -0700 |
commit | eddd9e8302de77cea52b3b2aaa3e1db19e680dd0 (patch) | |
tree | 87265ef4eba821e7b367993abcd457a06ae33974 /lib/mpi/mpi-mod.c | |
parent | 727ae377013249c05359f84975d21f3d13c70907 (diff) |
KVM: x86/mmu: Replace comment with an actual lockdep assertion on mmu_lock
Assert that mmu_lock is held for write in __walk_slot_rmaps() instead of
hoping the function comment will magically prevent introducing bugs.
Signed-off-by: Ben Gardon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions