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
..
2010-02-10 12:07:28 -07:00
2010-01-29 21:03:09 +01:00
2010-02-11 13:59:42 -08:00
2010-01-20 01:23:27 -05:00
2010-02-02 18:11:21 -08:00
2010-02-16 15:11:10 -08:00
2010-01-13 10:01:35 +00:00