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)
commit93803e0140c6216b68fe926ccc611297120da273
treec70e354f3029a00f83293b0d6bedf6738437ebab
parentda527770007fce8e4541947d47918248286da875
cfq-iosched: fix race in cfq_set_request()

We need to hold the queue lock over the reference increment,
it's not atomic anymore.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/cfq-iosched.c