From: Christof Schmitt Date: Thu, 24 Sep 2009 08:23:23 +0000 (+0200) Subject: [SCSI] zfcp: Fix oops during shutdown of offline device X-Git-Tag: v2.6.32-rc4~9^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f99bd4cbfa50be144aee24905befc1209d90d47;p=pandora-kernel.git [SCSI] zfcp: Fix oops during shutdown of offline device With the change that the zfcp_adapter struct is only allocated when the device is set online, the shutdown handler has to check for a non-existing zfcp_adapter struct. On the other hand, this check is not necessary in the offline callback, since an online device has the zfcp_adapter allocated and we go through the offline callback before removing the ccw device. Reviewed-by: Felix Beck Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed