From: Brian King Date: Tue, 22 Jul 2008 13:31:42 +0000 (-0500) Subject: [SCSI] ibmvfc: Fix hang on module removal X-Git-Tag: v2.6.27-rc1~55^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d0da2a44e065a5bdd90bed2ebe0b9216c27f682;p=pandora-kernel.git [SCSI] ibmvfc: Fix hang on module removal If certain ELS events are received during module removal, after the kthread is stopped, the rmmod can hang. This fixes the ibmvfc driver so that ELS events during rmmod are ignored by stopping all device activity prior to killing the kthread and also changes reinitialization to not attempt a reinit if the adapter has been taken offline. Signed-off-by: Brian King Signed-off-by: James Bottomley --- Reading git-diff-tree failed