]> git.karo-electronics.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:29:25 +0000 (05:29 +0200)
commit1e03bb2a2712d29db6f3ab5c642d007658a91dd6
treeac9cc960b4e20e6e1bf5da597fe326f48d6c4d04
parent1ff36a0e02f978e533b13ce6a86ad6a73444cec8
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