[PATCH] Fix get_request nastiness
authorHugh Dickins <hugh@veritas.com>
Wed, 29 Jun 2005 14:15:40 +0000 (15:15 +0100)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 29 Jun 2005 15:46:30 +0000 (08:46 -0700)
commitfd782a4a99d2d3e818b9465c427b10f7f027d7da
tree271bdff83dc68c7196c7319c18bd6292b5d177c5
parent541cecac534ea0df95fbc76b0a3091e91b101895
[PATCH] Fix get_request nastiness

get_request is now expected to be holding on to queue_lock, with interrupts
disabled, when it returns NULL; but one path forgot that, causing all kinds
of nastiness under swap load - badness backtraces, strange failures, BUGs.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/ll_rw_blk.c