ia64/xen-unstable

changeset 11908:1467ae662228

[BLKTAP]: Kill duplicate fast_flush_area call

The dispatch_rw_block_io may call fast_flush_area twice if
create_lookup_pte_addr fails (there is a flush call at fail_flush
already). The second call simply causes warnings to be printed
on the console. This patch removes the duplicate call.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
author kfraser@localhost.localdomain
date Fri Oct 20 09:22:58 2006 +0100 (2006-10-20)
parents 4c40bed66ade
children bb76521fdcb3
files linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c	Thu Oct 19 22:05:07 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c	Fri Oct 20 09:22:58 2006 +0100
     1.3 @@ -1195,8 +1195,6 @@ static void dispatch_rw_block_io(blkif_t
     1.4  					     uvaddr, &ptep);
     1.5  		if (ret) {
     1.6  			WPRINTK("Couldn't get a pte addr!\n");
     1.7 -			fast_flush_area(pending_req, pending_idx, usr_idx, 
     1.8 -					blkif->dev_num);
     1.9  			goto fail_flush;
    1.10  		}
    1.11