vhost: add __rcu annotations
authorArnd Bergmann <arnd@relay.de.ibm.com>
Tue, 9 Mar 2010 18:24:45 +0000 (19:24 +0100)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 21 Aug 2010 23:27:36 +0000 (16:27 -0700)
commit28457ee69c473a903e51e26c7bcd6f1e9eceb93e
tree7f872922577ec45ce655d68770c95082ad858a45
parent65e6bf484c497f02d47a0faae69ee398cd59cfda
vhost: add __rcu annotations

Also add rcu_dereference_protected() for code paths where locks are held.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
drivers/vhost/net.c
drivers/vhost/vhost.c
drivers/vhost/vhost.h