]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] ipr: Fix a race on multiple configuration changes
authorKleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Mon, 14 Feb 2011 22:19:31 +0000 (20:19 -0200)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 18 Feb 2011 18:29:15 +0000 (12:29 -0600)
commit5767a1c498931417e69e663ddd5e110cbaabec32
tree5d972d656b7d82fdad0356a09231094562a2a4f6
parentc299190b9398d4edfbf80a749875d5bac199bfdc
[SCSI] ipr: Fix a race on multiple configuration changes

In a multiple configuration change scenario a remove notification can be
followed by an immediate add notification for the same device, which
will cause the device to be removed but never added back. This patch
fixes the problem by ensuring that in such situations the device will be
added back.

Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/ipr.c