summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMaxim Levitsky <maximlevitsky@gmail.com>2010-08-11 14:17:52 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-26 16:43:11 -0700
commitff794f11b17636c14adf98459dae806c482ab8b1 (patch)
tree96d7d2f083b961c98041df42332e473f040dea0d /sound
parent7db3ade7abd16f53abe927c2a467c2f38d731c33 (diff)
memstick: fix hangs on unexpected device removal in mspro_blk
commit d862b13bc8cbab9692fbe0ef44c40d0488b81af1 upstream. mspro_block_remove() is called from detect thread that first calls the mspro_block_stop(), which stops the request queue. If we call del_gendisk() with the queue stopped we get a deadlock. Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Cc: Alex Dubov <oakad@yahoo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions