[PATCH] copy the tag_map

Milton Miller (miltonm@bga.com)
Wed, 28 May 2003 01:29:21 -0500 (CDT)


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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/