]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cfq-iosched: fix a rcu warning
authorShaohua Li <shaohua.li@intel.com>
Mon, 27 Jun 2011 07:03:47 +0000 (09:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Jul 2011 03:31:24 +0000 (05:31 +0200)
commit2eaa27dbf562d1990397db5a1022beacecedc3b8
treec77799c91b8f3e93ceb2d8063956a8a0008efb41
parentd234df5a1ed1bab59b88660548c30ff1af69de5b
cfq-iosched: fix a rcu warning

commit 3181faa85bda3dc3f5e630a1846526c9caaa38e3 upstream.

I got a rcu warnning at boot. the ioc->ioc_data is rcu_deferenced, but
doesn't hold rcu_read_lock.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
block/cfq-iosched.c