On Mon, 2005-10-24 at 18:02 -0400, Jeff Garzik wrote: > - eliminate use of 'channel' and 'id' in starget_for_each_device() Actually, we can't do this. The reason for the way it looks today is that shost_for_each_device() actually performs a lot of magic assuming that the list can be changing under it (it was a long precursor to the klists, if you like). list_for_each_entry() does no such magic. We could convert to klists to get this, or simply replicate the host magic per target. James - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html