[SCSI] zfcp: fix queue, scheduled work processing.
authorSwen Schillig <swen@vnet.ibm.com>
Mon, 2 Mar 2009 12:09:10 +0000 (13:09 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:58:22 +0000 (12:58 -0500)
commit947a9aca86eb2a921ed7aa92397cf7f38b896f90
treecfb2b6e86b77d7eeea5d73e86bc5f2905e919092
parent2cb5b2ca6dddcdfb0e220f18b4612890a23a1c92
[SCSI] zfcp: fix queue, scheduled work processing.

Ensure the refcounting is correct even if we were not able to
schedule a work. In addition we have to make sure no scheduled
work is pending while we're dequeing the adapter from the
systems environment.

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_erp.c