[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.1-testing] blkback: Fix creation of grant-unmap array in fast_flush_area().
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1206978473 -3600 # Node ID cb280d3f032b0324ae8a4e2730b225e82991ae7c # Parent d0b9857ea5922a7b213c316daa23acb3c7cdae33 blkback: Fix creation of grant-unmap array in fast_flush_area(). Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> linux-2.6.18-xen changeset: 496:a8f250d8a3e92a387f63b07180b228069446150b linux-2.6.18-xen date: Thu Mar 27 17:56:50 2008 +0000 --- linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r d0b9857ea592 -r cb280d3f032b linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c --- a/linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c Mon Mar 31 16:45:04 2008 +0100 +++ b/linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c Mon Mar 31 16:47:53 2008 +0100 @@ -173,8 +173,8 @@ static void fast_flush_area(pending_req_ handle = pending_handle(req, i); if (handle == BLKBACK_INVALID_HANDLE) continue; - gnttab_set_unmap_op(&unmap[i], vaddr(req, i), GNTMAP_host_map, - handle); + gnttab_set_unmap_op(&unmap[invcount], vaddr(req, i), + GNTMAP_host_map, handle); pending_handle(req, i) = BLKBACK_INVALID_HANDLE; invcount++; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |