]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] zfcp: fix race conditions when accessing erp_action lists
authorAndreas Herrmann <aherrman@de.ibm.com>
Tue, 13 Sep 2005 19:47:11 +0000 (21:47 +0200)
committerJames Bottomley <jejb@mulgrave.(none)>
Mon, 19 Sep 2005 18:00:50 +0000 (13:00 -0500)
commit3734d24b2e8d85796de70c13705cfb7cbb1d77df
treec89ddff8f636bea1a33bc88873e40dc7d562be46
parente0fc15bef0e8c6b5abad6e10cfe3d42e278ae8e8
[SCSI] zfcp: fix race conditions when accessing erp_action lists

o always use locking when changing erp_action lists,
o avoid escalation to ERP_ACTION_REOPEN_PORT_FORCED if erp_action is
  still in use for ERP_ACTION_REOPEN_PORT

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_erp.c