commit | db84fd973eba3f1e121416dcab73a4e8a60f2526 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 05 09:29:04 2018 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Mar 06 14:01:28 2018 +0100 |
tree | 74ecf8d70b8171e5d23b312c38b802069eda74ef | |
parent | ad0c60fa572d4050255b698ecdb67294dd4c0125 [diff] |
address_space_rw: address_space_to_flatview needs RCU lock address_space_rw is calling address_space_to_flatview but it can be called outside the RCU lock. To fix it, transform flatview_rw into address_space_rw, since flatview_rw is otherwise unused. Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>