From: Michael S. Tsirkin Date: Tue, 23 Feb 2010 09:25:23 +0000 (+0200) Subject: vhost: fix get_user_pages_fast error handling X-Git-Tag: v2.6.34-rc1~233^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6db3f5c11dc7ed5712d5d5682aa34025ee5248e;p=pandora-kernel.git 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 Signed-off-by: Michael S. Tsirkin --- Reading git-diff-tree failed