summaryrefslogtreecommitdiff
path: root/sound/soc/sh/siu_pcm.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-03-18 19:39:30 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2010-05-25 16:00:56 (GMT)
commitf9e8894ae5157796dd69249c56062042d02a431d (patch)
treecfc0f34d22771525330b995a2f58655bdd5aaa04 /sound/soc/sh/siu_pcm.c
parent8a52da632ceb9d8b776494563df579e87b7b586b (diff)
downloadlinux-fsl-qoriq-f9e8894ae5157796dd69249c56062042d02a431d.tar.xz
[SCSI] fix race in scsi_target_reap
This patch (as1357) fixes a race in SCSI target allocation and release. Putting a target in the STARGET_DEL state isn't protected by the host lock, so an old target structure could be reused by a new device even though it's about to be deleted. The cure is to change the state while still holding the host lock. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'sound/soc/sh/siu_pcm.c')
0 files changed, 0 insertions, 0 deletions