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

No differences found