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)
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>

No differences found