diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-20 09:22:58 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-20 09:22:58 +0100 |
commit | a9356988942783fa839b4df49dc725a641e05933 (patch) | |
tree | e4e3735a8f715c08c930217de1d9b081edee3e80 /linux-2.6-xen-sparse | |
parent | 86d55ec10a7f6f925099f47b6903d65d3d386d18 (diff) | |
download | xen-a9356988942783fa839b4df49dc725a641e05933.tar.gz xen-a9356988942783fa839b4df49dc725a641e05933.tar.bz2 xen-a9356988942783fa839b4df49dc725a641e05933.zip |
[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>
Diffstat (limited to 'linux-2.6-xen-sparse')
-rw-r--r-- | linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c b/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c index 8b5a4f7f9d..a7e5037d72 100644 --- a/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c +++ b/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c @@ -1195,8 +1195,6 @@ static void dispatch_rw_block_io(blkif_t *blkif, uvaddr, &ptep); if (ret) { WPRINTK("Couldn't get a pte addr!\n"); - fast_flush_area(pending_req, pending_idx, usr_idx, - blkif->dev_num); goto fail_flush; } |