• James Bottomley's avatar
    SCSI: add starget_for_each_device · 65c333c9
    James Bottomley authored
    From: 	James.Smart@Emulex.Com
    
    This patch deprecates the use of device_for_each_child() with stargets.
    The reasoning behind this is due to issues regarding:
          Semaphores that device_for_each_child() takes
          Implicit assumptions that each child is an sdev device.
    
    The patch adds a new helper function, starget_for_each_device(), and
    replaces all previous uses of device_for_each_child().
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    65c333c9
scsi_transport_fc.c 30.4 KB