ia64/xen-unstable

changeset 6713:6563a12e0ad7

Fix blkfront request completion.
author kaf24@firebug.cl.cam.ac.uk
date Fri Sep 09 09:13:45 2005 +0000 (2005-09-09)
parents 67d7e01c8277
children df1348e72390
files linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c	Fri Sep 09 09:07:59 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c	Fri Sep 09 09:13:45 2005 +0000
     1.3 @@ -776,8 +776,8 @@ static void blkif_completion(struct blk_
     1.4  {
     1.5  	int i;
     1.6  	for (i = 0; i < s->req.nr_segments; i++)
     1.7 -		gnttab_free_grant_reference(
     1.8 -			blkif_gref_from_fas(s->req.frame_and_sects[i]));
     1.9 +		gnttab_end_foreign_access(
    1.10 +			blkif_gref_from_fas(s->req.frame_and_sects[i]), 0);
    1.11  }
    1.12  
    1.13  /*