]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] zfcp: Fix port reference counting
authorMartin Petermann <martin.petermann@de.ibm.com>
Fri, 17 Apr 2009 13:08:13 +0000 (15:08 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:07:35 +0000 (10:07 -0500)
commit6ab35c0713daf8cd68f272a4be8dfc02c86bbd3b
treea7baf0ddc4d7f92f458b10b07e8da5616a5ffdc4
parent7001f0c4863230dd1560425fa0f5aad9e21716b8
[SCSI] zfcp: Fix port reference counting

If this problem appears zfcp ports cannot be de-queued since it is
checked for a zero refcount. The port reference counting is wrong for
existing zfcp ports when e.g. an adapter gets on-line again. During
port scanning the reference counting for existing ports should not be
changed.

Signed-off-by: Martin Petermann <martin.petermann@de.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fc.c