]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.39/patches.arch/s390-05-04-fix_rport_status_check.patch
Updated kernel (2.6.27.41).
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.arch / s390-05-04-fix_rport_status_check.patch
diff --git a/src/patches/suse-2.6.27.39/patches.arch/s390-05-04-fix_rport_status_check.patch b/src/patches/suse-2.6.27.39/patches.arch/s390-05-04-fix_rport_status_check.patch
deleted file mode 100644 (file)
index 38d9722..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Gerald Schaefer <geraldsc@de.ibm.com>
-Subject: zfcp: fix remote port status check
-References: bnc#450096
-
-Symptom:     SCSI disks dropped out during FC switch error injection
-Problem:     For an incoming rscn it was checked by the 
-             ZFCP_STATUS_PORT_DID_DID define to re-open a remote port
-             or to test the connection. Since this define was re-used
-             it was also necessary to replace that define.
-Solution:    Replaced ZFCP_STATUS_PORT_DID_DID with 
-             ZFCP_STATUS_PORT_PHYS_OPEN.
-
-Acked-by: John Jolly <jjolly@suse.de>
----
- drivers/s390/scsi/zfcp_fc.c |    3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-Index: linux-sles11/drivers/s390/scsi/zfcp_fc.c
-===================================================================
---- linux-sles11.orig/drivers/s390/scsi/zfcp_fc.c
-+++ linux-sles11/drivers/s390/scsi/zfcp_fc.c
-@@ -128,8 +128,7 @@ static void _zfcp_fc_incoming_rscn(struc
-       read_lock_irqsave(&zfcp_data.config_lock, flags);
-       list_for_each_entry(port, &fsf_req->adapter->port_list_head, list) {
--              /* FIXME: ZFCP_STATUS_PORT_DID_DID check is racy */
--              if (!(atomic_read(&port->status) & ZFCP_STATUS_PORT_DID_DID))
-+              if (!(atomic_read(&port->status) & ZFCP_STATUS_PORT_PHYS_OPEN))
-                       /* Try to connect to unused ports anyway. */
-                       zfcp_erp_port_reopen(port,
-                                            ZFCP_STATUS_COMMON_ERP_FAILED,