aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorChristof Schmitt <[email protected]>2009-09-24 08:23:23 +0000
committerJames Bottomley <[email protected]>2009-10-02 14:49:59 +0000
commit1f99bd4cbfa50be144aee24905befc1209d90d47 (patch)
tree623218f3c760153a5a5103f961cf1726af18ff9e /lib/fault-inject.c
parent[SCSI] zfcp: Fix initial device and cfdc for delayed adapter allocation (diff)
downloadkernel-1f99bd4cbfa50be144aee24905befc1209d90d47.tar.gz
kernel-1f99bd4cbfa50be144aee24905befc1209d90d47.zip
[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 <[email protected]> Signed-off-by: Christof Schmitt <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions