Files
linux/drivers
Hannes Reinecke 0d2fcd9f98 [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>
2007-06-17 16:03:11 -05:00
..
2007-05-21 09:18:19 -07:00
2007-05-30 23:57:05 -05:00
…
…
2007-05-27 23:21:01 +02:00
2007-05-24 02:42:39 +02:00
2007-05-21 09:18:19 -07:00
2007-06-17 15:55:31 -05:00
2007-05-17 05:23:04 -07:00
2007-05-30 10:00:16 -04:00
2007-05-21 09:18:19 -07:00
2007-05-16 21:19:15 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 13:37:51 +10:00
2007-05-17 05:23:05 -07:00
…
…
2007-05-23 20:14:15 -07:00
…
2007-05-23 20:14:13 -07:00
…