ia64/xen-unstable

changeset 4868:3291b52e8ca6

bitkeeper revision 1.1389.19.7 (428332faE9tXKL2EQy-9cj-_mI0V8Q)

Fix blkfront driver for 2.4 domU.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu May 12 10:42:02 2005 +0000 (2005-05-12)
parents a9b0f5ea7651
children 88c4b08c5b36
files linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c
line diff
     1.1 --- a/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c	Thu May 12 10:39:43 2005 +0000
     1.2 +++ b/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c	Thu May 12 10:42:02 2005 +0000
     1.3 @@ -824,7 +824,7 @@ static int blkif_queue_request(unsigned 
     1.4                          buffer_ma >> PAGE_SHIFT,
     1.5                          ( operation == BLKIF_OP_WRITE ? 1 : 0 ) );
     1.6  
     1.7 -            blk_shadow[id].frame[req->nr_segments] =
     1.8 +            blk_shadow[req->id].frame[req->nr_segments] =
     1.9                  buffer_ma >> PAGE_SHIFT;
    1.10  
    1.11              req->frame_and_sects[req->nr_segments] =