[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] blktap: Remove broken debug code.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1185956626 -3600 # Node ID 1372bc676080a527c98cd4de82637edd319794e7 # Parent 09c88868e3442eaf5108520ecca0df9d5bf606a0 blktap: Remove broken debug code. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- drivers/xen/blktap/blktap.c | 14 -------------- 1 files changed, 14 deletions(-) diff -r 09c88868e344 -r 1372bc676080 drivers/xen/blktap/blktap.c --- a/drivers/xen/blktap/blktap.c Tue Jul 31 15:47:11 2007 +0100 +++ b/drivers/xen/blktap/blktap.c Wed Aug 01 09:23:46 2007 +0100 @@ -1300,7 +1300,6 @@ static void dispatch_rw_block_io(blkif_t unsigned int nseg; int ret, i, nr_sects = 0; tap_blkif_t *info; - uint64_t sector; blkif_request_t *target; int pending_idx = RTN_PEND_IDX(pending_req,pending_req->mem_idx); int usr_idx; @@ -1356,19 +1355,6 @@ static void dispatch_rw_block_io(blkif_t uvaddr = MMAP_VADDR(info->user_vstart, usr_idx, i); kvaddr = idx_to_kaddr(mmap_idx, pending_idx, i); - - sector = req->sector_number + ((PAGE_SIZE / 512) * i); - if( (blkif->sectors > 0) && (sector >= blkif->sectors) ) { - WPRINTK("BLKTAP: Sector request greater" - "than size\n"); - WPRINTK("BLKTAP: %s request sector" - "[%llu,%llu], Total [%llu]\n", - (req->operation == - BLKIF_OP_WRITE ? "WRITE" : "READ"), - (long long unsigned) sector, - (long long unsigned) sector>>9, - (long long unsigned) blkif->sectors); - } flags = GNTMAP_host_map; if (operation == WRITE) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |