Dr. David Alan Gilbert b5f53d04a5 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>
2019-10-29 18:56:45 -04:00
..
2019-10-26 15:38:07 +02:00
2019-10-28 19:06:53 +01:00
2019-10-29 18:56:45 -04:00
2019-10-28 19:06:47 +01:00
2019-10-26 15:38:02 +02:00
2019-10-29 18:56:45 -04:00
2019-10-18 20:38:10 -07:00