diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2008-08-21 13:43:36 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-08-29 09:04:52 -0500 |
commit | 6139308dca9437975125290698cb9306240f525c (patch) | |
tree | 1494060abb2c6da6ba57e61b0fc5e8598d81d23d /drivers/s390/scsi | |
parent | 9528539cc2d506aa232b0d93881ac4d19738752f (diff) | |
download | linux-6139308dca9437975125290698cb9306240f525c.tar.gz linux-6139308dca9437975125290698cb9306240f525c.tar.bz2 linux-6139308dca9437975125290698cb9306240f525c.zip |
[SCSI] zfcp: channel cannot be detached due to refcount imbalance
Due to an imbalance of the nameserver refcounting, channel devices
couldn't be take offline anymore after the channel was activated.
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>
Diffstat (limited to 'drivers/s390/scsi')
-rw-r--r-- | drivers/s390/scsi/zfcp_fc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_fc.c b/drivers/s390/scsi/zfcp_fc.c index 05e6b09c48f3..56196c98c07b 100644 --- a/drivers/s390/scsi/zfcp_fc.c +++ b/drivers/s390/scsi/zfcp_fc.c @@ -352,7 +352,6 @@ static int zfcp_scan_get_nameserver(struct zfcp_adapter *adapter) if (ret) return ret; zfcp_erp_wait(adapter); - zfcp_port_put(adapter->nameserver_port); } return !atomic_test_mask(ZFCP_STATUS_COMMON_UNBLOCKED, &adapter->nameserver_port->status); |