Files
linux/drivers
Michael Reed 8798a694da [SCSI] scsi_transport_fc: remove invalid BUG_ON
I was doing some large lun count testing with 2.6.31 and hit
a BUG_ON() in fc_timeout_deleted_rport(), and it seems like it
should have been just a matter of time before someone did.

It seems invalid to set port_state under lock, then expect it to
remain set after releasing the lock.  Another thread called
fc_remote_port_add() when the lock was released, changing the
port_state.

This patch removes the BUG_ON and moves the test of the
port_state to inside the host_lock.  It's been running for
several weeks now with no ill effect.

Signed-off-by: Michael Reed <mdr@sgi.com>
Acked-by:  James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-10-29 13:03:28 -04:00
..
2009-10-15 00:47:13 -04:00
2009-09-22 07:17:27 -07:00
2009-10-22 16:39:34 +10:30
2009-10-29 07:39:30 -07:00
2009-09-24 07:21:05 -07:00
2009-10-20 10:13:49 +03:00
2009-10-15 09:58:27 -06:00
2009-10-15 00:47:13 -04:00
2009-09-23 11:35:41 -04:00
2009-10-21 13:20:32 +01:00
2009-10-04 22:53:41 +02:00
2009-10-04 15:05:10 -07:00
2009-09-23 10:07:49 -07:00