public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] copy the tag_map
@ 2003-05-28  6:29 Milton Miller
  2003-05-28  6:31 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Milton Miller @ 2003-05-28  6:29 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel


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));
 
 	kfree(tag_index);
 	kfree(tag_map);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] copy the tag_map
  2003-05-28  6:29 [PATCH] copy the tag_map Milton Miller
@ 2003-05-28  6:31 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2003-05-28  6:31 UTC (permalink / raw)
  To: Milton Miller; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-28  6:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-28  6:29 [PATCH] copy the tag_map Milton Miller
2003-05-28  6:31 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox