vhost: fix return code for log_access_ok()
access_ok() returns 1 if it's OK otherwise it should return 0. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
Showing
想要评论请 注册 或 登录
access_ok() returns 1 if it's OK otherwise it should return 0. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>