diff options
author | Maxim Levitsky <[email protected]> | 2010-08-11 14:17:52 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-08-12 08:43:31 -0700 |
commit | d862b13bc8cbab9692fbe0ef44c40d0488b81af1 (patch) | |
tree | e8eeff7c7d8759cd6c812a895d2234ddf16d94c7 /lib/debugobjects.c | |
parent | 21fd0495ea61d53e0ebe575330e343ce4e6d2a61 (diff) |
memstick: fix hangs on unexpected device removal in mspro_blk
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 <[email protected]>
Cc: Alex Dubov <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions