]> err.no Git - linux-2.6/commitdiff
[SCSI] zfcp: clear boxed flag on unit reopen.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 8 May 2007 09:19:57 +0000 (11:19 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 8 May 2007 16:57:17 +0000 (11:57 -0500)
The boxed flag for units was never cleared. This doesn't hurt, but on
ACL updates the error recovery could reopen more units than needed.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_fsf.c

index 083308b1d3e2df5a26fbf73ad92a06359ce8a59e..a8b02542ac2da30aaaf9a953153d41e419c18da0 100644 (file)
@@ -3043,6 +3043,7 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req)
        queue_designator = &header->fsf_status_qual.fsf_queue_designator;
 
        atomic_clear_mask(ZFCP_STATUS_COMMON_ACCESS_DENIED |
+                         ZFCP_STATUS_COMMON_ACCESS_BOXED |
                          ZFCP_STATUS_UNIT_SHARED |
                          ZFCP_STATUS_UNIT_READONLY,
                          &unit->status);