commit | 84e4075d60fc8f1c0b937765620bc784dd0c3d39 | [log] [tgz] |
---|---|---|
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | Wed Feb 09 15:11:59 2011 -0500 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Mon Feb 14 14:16:20 2011 -0500 |
tree | 1d337c56f68d0e1a7ca9db3749dcaead46b35ba3 | |
parent | 0ea22f072fb1b3da4307573c280ce904f0bf1589 [diff] |
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 <dgdegra@tycho.nsa.gov> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>