diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2011-02-09 15:11:59 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-02-14 14:16:20 -0500 |
commit | 84e4075d60fc8f1c0b937765620bc784dd0c3d39 (patch) | |
tree | 1d337c56f68d0e1a7ca9db3749dcaead46b35ba3 /drivers/xen/pci.c | |
parent | 0ea22f072fb1b3da4307573c280ce904f0bf1589 (diff) | |
download | kernel_samsung_crespo-84e4075d60fc8f1c0b937765620bc784dd0c3d39.zip kernel_samsung_crespo-84e4075d60fc8f1c0b937765620bc784dd0c3d39.tar.gz kernel_samsung_crespo-84e4075d60fc8f1c0b937765620bc784dd0c3d39.tar.bz2 |
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>
Diffstat (limited to 'drivers/xen/pci.c')
0 files changed, 0 insertions, 0 deletions