]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] iscsi class: user device_for_each_child instead of duplicating session list
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 21 May 2008 20:54:12 +0000 (15:54 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jul 2008 13:22:20 +0000 (08:22 -0500)
commit7970634b81a6e3561954517bca42615542c4535b
treee8a6aea24c5db8c1198173b75945746333cdbd4d
parent2261ec3d686e35c1a6088ab7f00a1d02b528b994
[SCSI] iscsi class: user device_for_each_child instead of duplicating session list

Currently we duplicate the list of sessions, because we were using the
test for if a session was on the host list to indicate if the session
was bound or unbound. We can instead use the target_id and fix up
the class so that drivers like bnx2i do not have to manage the target id
space.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/scsi/iscsi_tcp.c
drivers/scsi/libiscsi.c
drivers/scsi/scsi_transport_iscsi.c
include/scsi/libiscsi.h
include/scsi/scsi_transport_iscsi.h