[SCSI] zfcp: fix erp list usage without using locks
authorSwen Schillig <swen@vnet.ibm.com>
Wed, 1 Oct 2008 10:42:24 +0000 (12:42 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 3 Oct 2008 17:11:56 +0000 (12:11 -0500)
commit9fb3cd86e4870d54d71a80323e97c48df4de05bd
treeb03dfde59ef84770511a7cace937bed26c55adb6
parente4e9ba5d9313f362d2192fb7a2d35a3bfb714b1e
[SCSI] zfcp: fix erp list usage without using locks

The zfcp_erp_thread was using the nolock version of the dbf function.
This resulted in a list access while other tasks could modifying the
list. The symptom was an erp thread running at 100% CPU and never
returning from the dbf function.

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>
drivers/s390/scsi/zfcp_erp.c