diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index 0dff05840ee2..2ed3c7b48882 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c | |||
@@ -2968,6 +2968,13 @@ zfcp_fsf_close_physical_port_handler(struct zfcp_fsf_req *fsf_req) | |||
2968 | zfcp_erp_port_boxed(port); | 2968 | zfcp_erp_port_boxed(port); |
2969 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | | 2969 | fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR | |
2970 | ZFCP_STATUS_FSFREQ_RETRY; | 2970 | ZFCP_STATUS_FSFREQ_RETRY; |
2971 | |||
2972 | /* can't use generic zfcp_erp_modify_port_status because | ||
2973 | * ZFCP_STATUS_COMMON_OPEN must not be reset for the port */ | ||
2974 | atomic_clear_mask(ZFCP_STATUS_PORT_PHYS_OPEN, &port->status); | ||
2975 | list_for_each_entry(unit, &port->unit_list_head, list) | ||
2976 | atomic_clear_mask(ZFCP_STATUS_COMMON_OPEN, | ||
2977 | &unit->status); | ||
2971 | break; | 2978 | break; |
2972 | 2979 | ||
2973 | case FSF_ADAPTER_STATUS_AVAILABLE: | 2980 | case FSF_ADAPTER_STATUS_AVAILABLE: |