From: Daniel De Graaf Date: Wed, 9 Feb 2011 20:11:59 +0000 (-0500) Subject: xen-gntdev: Use map->vma for checking map validity X-Git-Tag: v2.6.39-rc1~439^3~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84e4075d60fc8f1c0b937765620bc784dd0c3d39;p=pandora-kernel.git xen-gntdev: Use map->vma for checking map validity The is_mapped flag used to be set at the completion of the map operation, but was not checked in all error paths. Use map->vma instead, which will now be cleared if the initial grant mapping fails. Signed-off-by: Daniel De Graaf Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed