vhost: rcu annotation fixup
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 18 Jan 2011 11:04:43 +0000 (13:04 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Feb 2011 14:48:46 +0000 (16:48 +0200)
commit5e18247b02d60a1ea4bf98c05e139461ca9aec64
treeccb92d5f599413e138fd148594c04d9f3aa43701
parentfca540ab5f4718c6133f71f7be1793066008bf89
vhost: rcu annotation fixup

When built with rcu checks enabled, vhost triggers
bogus warnings as vhost features are read without
dev->mutex sometimes, and private pointer is read
with our kind of rcu where work serves as a
read side critical section.

Fixing it properly is not trivial.
Disable the warnings by stubbing out the checks for now.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c
drivers/vhost/vhost.h