diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-10-28 16:11:09 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-10-29 18:56:45 -0400 |
commit | b5f53d04a5a567ac70d33ec95628d35583eba600 (patch) | |
tree | 7c90f01af096af4a5fe64d701343911df2cd7f3a /libdecnumber | |
parent | 068ddfa970063730c5a61b06bae336d68de114e1 (diff) |
virtio: Use auto rcu_read macros
Use RCU_READ_LOCK_GUARD and WITH_RCU_READ_LOCK_GUARD
to replace the manual rcu_read_(un)lock calls.
I think the only change is virtio_load which was missing unlocks
in error paths; those end up being fatal errors so it's not
that important anyway.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20191028161109.60205-1-dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'libdecnumber')
0 files changed, 0 insertions, 0 deletions