mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 14:13:18 +00:00
[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>
This commit is contained in:
parent
9528539cc2
commit
6139308dca
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue