linux/drivers/vhost
Michael S. Tsirkin d6db3f5c11 vhost: fix get_user_pages_fast error handling
get_user_pages_fast returns number of pages on success, negative value
on failure, but never 0. Fix vhost code to match this logic.

Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2010-02-28 19:42:36 +02:00
..
Kconfig net/macvtap: add vhost support 2010-02-18 14:08:38 -08:00
Makefile vhost_net: a kernel-level virtio server 2010-01-15 01:43:29 -08:00
net.c net/macvtap: add vhost support 2010-02-18 14:08:38 -08:00
vhost.c vhost: fix get_user_pages_fast error handling 2010-02-28 19:42:36 +02:00
vhost.h vhost_net: a kernel-level virtio server 2010-01-15 01:43:29 -08:00