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-07-02 12:59:22 -04:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2019-10-29 18:56:45 -04:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2019-10-29 18:56:45 -04:00