]> 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>
Sat, 9 Jul 2011 06:15:24 +0000 (23:15 -0700)
commit3ad80528ba9a8d2e69aba2e110dc875765196bac
treeb839f681ae570d593735e38b83f5145b3421245f
parentb1ad9117b692986f2fc0d2d1b3f6f56b696d38cc
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