cfq-iosched: fix race in cfq_set_request()
authorJens Axboe <jaxboe@fusionio.com>
Mon, 7 Mar 2011 07:59:06 +0000 (08:59 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 7 Mar 2011 07:59:06 +0000 (08:59 +0100)
We need to hold the queue lock over the reference increment,
it's not atomic anymore.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

No differences found