From: Christof Schmitt Date: Mon, 5 Nov 2007 11:37:47 +0000 (+0100) Subject: [SCSI] zfcp: Fix deadlock when adding invalid LUN X-Git-Tag: v2.6.25-rc1~1230^2~158 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1de1b43b5f0bb536126e31f07ec833e01969ed1c;p=pandora-kernel.git [SCSI] zfcp: Fix deadlock when adding invalid LUN When adding an invalid LUN, there is a deadlock between the add via scsi_scan_target and the slave_destroy handler: The handler waits for the scan to complete, but for an invalid unit, scsi_scan_target directly calls the slave_destroy handler. Fix the deadlock by removing the wait in the slave_destroy handler, it was not necessary anyway. Signed-off-by: Christof Schmitt Signed-off-by: Martin Schwidefsky Signed-off-by: Swen Schillig Signed-off-by: James Bottomley --- Reading git-diff-tree failed