From: Swen Schillig Date: Thu, 27 Nov 2008 10:44:07 +0000 (+0100) Subject: [SCSI] zfcp: prevent double decrement on host_busy while being busy X-Git-Tag: v2.6.28-rc8~76^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7a65e92e4bef3ccf9e008ed8cd52d914b6a4adb;p=pandora-kernel.git [SCSI] zfcp: prevent double decrement on host_busy while being busy The zfcp_scsi_queuecommand was not acting according to the standard when the respective unit was not available. In this case an -EBUSY was returned, which is not valid in itself, and in addition scsi_done was called. This combination is not allowed and was leading to a double finish of the request and therefor double decrement of the host_busy counter. Signed-off-by: Swen Schillig Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed