vhost: fix return code for log_access_ok()
authorDan Carpenter <error27@gmail.com>
Mon, 11 Oct 2010 17:24:19 +0000 (19:24 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Oct 2010 12:32:28 +0000 (14:32 +0200)
commit6d97e55f7172303082850c1de085d06fc1e57d17
treef1a309c0e0e4f4cd362adbd1cf4aca5d3a983535
parentb0057c51db66c5f0f38059f242c57d61c4741d89
vhost: fix return code for log_access_ok()

access_ok() returns 1 if it's OK otherwise it should return 0.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c