[SCSI] zfcp: Ensure all work is cancelled on adapter dequeue
authorSwen Schillig <swen@vnet.ibm.com>
Mon, 2 Mar 2009 12:09:11 +0000 (13:09 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:58:22 +0000 (12:58 -0500)
commit6d1a27f630f1d30bf85c61ec0436c287d0945fcc
tree0ad5c2acce91c95ed1a2d12ca58f9f2dac279266
parent947a9aca86eb2a921ed7aa92397cf7f38b896f90
[SCSI] zfcp: Ensure all work is cancelled on adapter dequeue

A scheduled work might still be pending, running while the adapter is
in progress to get dequeued from the system. This can lead to an
invalid pointer dereference (Oops).  Once the adpater is set online
again, ensure the nameserver environment is initialized to the
appropriate values again.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_ccw.c
drivers/s390/scsi/zfcp_fc.c