[PATCH] CFQ: bad locking in changed_ioprio()
commitc1b707d253fe918b92882cff1dbd926b47e14fd2
authorJens Axboe <jens.axboe@oracle.com>
Mon, 30 Oct 2006 18:54:23 +0000 (30 19:54 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 30 Oct 2006 19:01:50 +0000 (30 11:01 -0800)
tree849001799adfad5741cdfe952fadbafd66fb97e1
parent0261d6886eb5822867a5310dc1e4479b940a1942
[PATCH] CFQ: bad locking in changed_ioprio()

When the ioprio code recently got juggled a bit, a bug was introduced.
changed_ioprio() is no longer called with interrupts disabled, so using
plain spin_lock() on the queue_lock is a bug.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
block/cfq-iosched.c