diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-05 09:23:56 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-06 14:01:27 +0100 |
commit | 4c6ebbb364aa6f42c5d8e83e932e967eb83f0e44 (patch) | |
tree | 73f0ddf49cbf9630fda799009f81024933ffc788 /include | |
parent | 785a507ec78bbda1c346f3d3593e5a58b62e73ef (diff) |
address_space_write: address_space_to_flatview needs RCU lock
address_space_write is calling address_space_to_flatview but it can
be called outside the RCU lock. To fix it, push the rcu_read_lock/unlock
pair up from flatview_write to address_space_write.
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions