summaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2008-08-21 13:43:36 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-08-29 09:04:52 -0500
commit6139308dca9437975125290698cb9306240f525c (patch)
tree1494060abb2c6da6ba57e61b0fc5e8598d81d23d /drivers/s390/scsi
parent9528539cc2d506aa232b0d93881ac4d19738752f (diff)
downloadblackbird-op-linux-6139308dca9437975125290698cb9306240f525c.tar.gz
blackbird-op-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.c1
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);
OpenPOWER on IntegriCloud