ia64/xen-unstable

changeset 12247:f1e7799750dc

[BLKTAP] Fix gnttab unmap call to specify that address contains PTE.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kfraser@localhost.localdomain
date Fri Nov 03 12:08:42 2006 +0000 (2006-11-03)
parents dcdf02fde4cb
children d6795f951c42
files linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c	Fri Nov 03 11:54:33 2006 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c	Fri Nov 03 12:08:42 2006 +0000
     1.3 @@ -908,8 +908,10 @@ static void fast_flush_area(pending_req_
     1.4  				return;
     1.5  			}
     1.6  
     1.7 -			gnttab_set_unmap_op(&unmap[invcount],
     1.8 -					    ptep, GNTMAP_host_map,
     1.9 +			gnttab_set_unmap_op(&unmap[invcount], ptep,
    1.10 +					    GNTMAP_host_map
    1.11 +					    | GNTMAP_application_map
    1.12 +					    | GNTMAP_contains_pte,
    1.13  					    khandle->user);
    1.14  			invcount++;
    1.15  		}