diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2009-09-24 10:23:23 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-10-02 09:49:59 -0500 |
commit | 1f99bd4cbfa50be144aee24905befc1209d90d47 (patch) | |
tree | 623218f3c760153a5a5103f961cf1726af18ff9e /drivers/s390/char | |
parent | c5afd81e5d7ebacc9dd23954e169ac79a34fe399 (diff) | |
download | op-kernel-dev-1f99bd4cbfa50be144aee24905befc1209d90d47.zip op-kernel-dev-1f99bd4cbfa50be144aee24905befc1209d90d47.tar.gz |
[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 <felix.beck@de.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/char')
0 files changed, 0 insertions, 0 deletions