Re: [PATCH] copy the tag_map

From: Jens Axboe (axboe@suse.de)
Date: Wed May 28 2003 - 01:35:37 EST


On Wed, May 28 2003, Milton Miller wrote:
>
> Hi Jens
>
> saw this on checkin ...
>
> milton
>
> ===== drivers/block/ll_rw_blk.c 1.171 vs edited =====
> --- 1.171/drivers/block/ll_rw_blk.c Tue May 27 15:21:00 2003
> +++ edited/drivers/block/ll_rw_blk.c Wed May 28 00:43:33 2003
> @@ -553,7 +553,7 @@
>
> memcpy(bqt->tag_index, tag_index, max_depth * sizeof(struct request *));
> bits = max_depth / BLK_TAGS_PER_LONG;
> - memcpy(bqt->tag_map, bqt->tag_map, bits * sizeof(unsigned long));
> + memcpy(bqt->tag_map, tag_map, bits * sizeof(unsigned long));

Ah thanks, yes obvious typo there! I'll send your fix on.

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/