mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
bitkeeper revision 1.117 (3e6bd6a4rGkhgVtHUdxAdVKFXliA9g)
xen_block.c: Small fix.
This commit is contained in:
1 parent
de64d4ffa1
commit
261f2fef57
1 file changed
+2
-2
@@ -207,12 +207,12 @@ static void end_block_io_op(struct buffer_head *bh, int uptodate)
|
||||
pending_req->status = 1;
|
||||
}
|
||||
#ifdef TEST_READ_VALIDITY
|
||||
else
|
||||
else if ( pending_req->operation == READ )
|
||||
{
|
||||
unsigned long *buff = map_domain_mem(virt_to_phys(bh->b_data));
|
||||
if ( (buff[ 0] == 0xdeadbeef) &&
|
||||
(buff[127] == 0xdeadbeef) )
|
||||
printk("A really fucked buffer at %ld\n", bh->b_rsector);
|
||||
printk("An unmodified buffer at sector %ld\n", bh->b_rsector);
|
||||
unmap_domain_mem(buff);
|
||||
}
|
||||
#endif
|
||||
|
||||