[SCSI] zfcp: Reference counting for cfdc requests
commit3869bb6e73f5f55ce16b13025726b0bfdf1f4aae
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Fri, 17 Apr 2009 13:08:14 +0000 (17 15:08 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:07:36 +0000 (27 10:07 -0500)
treec811b847952ecc4a5173274a48803f28097e205e
parent6ab35c0713daf8cd68f272a4be8dfc02c86bbd3b
[SCSI] zfcp: Reference counting for cfdc requests

Before dropping the reference count with zfcp_adapter_put, increase it
with zfcp_adapter_get when issuing cfdc requests.

Reviewed-by: Martin Petermann <martin@linux.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_cfdc.c