cfq-iosched: fix a rcu warning
authorShaohua Li <shaohua.li@intel.com>
Mon, 27 Jun 2011 07:03:47 +0000 (09:03 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 27 Jun 2011 07:36:06 +0000 (09:36 +0200)
commit3181faa85bda3dc3f5e630a1846526c9caaa38e3
tree1017c61ebf8a7711ac400e2a728e188ec5770001
parent258e43fdb00c73d424b114ae3850accd55b27cbb
cfq-iosched: fix a rcu warning

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>
Cc: stable@kernel.org # after ab4bd22d
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/cfq-iosched.c