ia64/xen-unstable

changeset 271:0bd810c3a05e

bitkeeper revision 1.117 (3e6bd6a4rGkhgVtHUdxAdVKFXliA9g)

xen_block.c:
Small fix.
author kaf24@labyrinth.cl.cam.ac.uk
date Mon Mar 10 00:04:52 2003 +0000 (2003-03-10)
parents 565a9104c380
children 61f8bbaac0a6 6ccdfe654b2b
files xen/drivers/block/xen_block.c
line diff
     1.1 --- a/xen/drivers/block/xen_block.c	Mon Mar 10 00:02:02 2003 +0000
     1.2 +++ b/xen/drivers/block/xen_block.c	Mon Mar 10 00:04:52 2003 +0000
     1.3 @@ -207,12 +207,12 @@ static void end_block_io_op(struct buffe
     1.4          pending_req->status = 1;
     1.5      }
     1.6  #ifdef TEST_READ_VALIDITY
     1.7 -    else
     1.8 +    else if ( pending_req->operation == READ )
     1.9      {
    1.10          unsigned long *buff = map_domain_mem(virt_to_phys(bh->b_data));
    1.11          if ( (buff[  0] == 0xdeadbeef) &&
    1.12               (buff[127] == 0xdeadbeef) )
    1.13 -            printk("A really fucked buffer at %ld\n", bh->b_rsector);
    1.14 +            printk("An unmodified buffer at sector %ld\n", bh->b_rsector);
    1.15          unmap_domain_mem(buff);
    1.16      }
    1.17  #endif