From: Mike Christie Date: Tue, 30 May 2006 05:37:20 +0000 (-0500) Subject: [SCSI] iscsi: don't switch states when just cleaning up X-Git-Tag: v2.6.18-rc1~1092^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67a611149b2ac5f4af1e36bfffbfe3198cd3712c;p=pandora-kernel.git [SCSI] iscsi: don't switch states when just cleaning up If recovery failed or we are in recovery only overwrite the state if we are going to terminate the session or if we logged back in. STOP_CONN_SUSPEND and conn_cnt are not used. We only support a single connection session ATM, so cleanup that code while we are working around it. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed