[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix blkfront request completion.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 6563a12e0ad762de25c8fd8b824b4d6579fd1480
# Parent  67d7e01c8277fdd9be9c5834e233cb0c8fddb00d
Fix blkfront request completion.

diff -r 67d7e01c8277 -r 6563a12e0ad7 
linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c
--- a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c      Fri Sep  9 
09:07:59 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c      Fri Sep  9 
09:13:45 2005
@@ -776,8 +776,8 @@
 {
        int i;
        for (i = 0; i < s->req.nr_segments; i++)
-               gnttab_free_grant_reference(
-                       blkif_gref_from_fas(s->req.frame_and_sects[i]));
+               gnttab_end_foreign_access(
+                       blkif_gref_from_fas(s->req.frame_and_sects[i]), 0);
 }
 
 /*

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.