summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/a100u2w.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2007-06-14 15:16:45 +0200
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-06-17 23:03:11 +0200
commit0d2fcd9f9858a34f7056b3b1cb60ce0f883d06b6 (patch)
tree21c82df82bc70bc3e8439ef0ac34a10b0dfee589 /drivers/scsi/a100u2w.h
parent[SCSI] iscsi_tcp: convert to use the data buffer accessors (diff)
downloadlinux-0d2fcd9f9858a34f7056b3b1cb60ce0f883d06b6.tar.xz
linux-0d2fcd9f9858a34f7056b3b1cb60ce0f883d06b6.zip
[SCSI] fc_transport: Check portstates before invoking target scan
When a target scan is initiated from sysfs, we should check the portstate prior to invoke scsi_scan_target(). Otherwise scsi_scan_target() might oops as the rport might already been removed from the scsi host and the traversal from the rport to the scsi_host in scsi_scan_target() will fail. Also the portstate already told us that communication with the target has failed, so it's quite pointless to try. Signed-off-by: Hannes Reinecke <hare@suse.de> Cc: James Smart <James.Smart@Emulex.Com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/a100u2w.h')
0 files changed, 0 insertions, 0 deletions