From: Jens Axboe Date: Wed, 28 May 2008 12:46:59 +0000 (+0200) Subject: cfq-iosched: fix RCU problem in cfq_cic_lookup() X-Git-Tag: v2.6.26-rc5~43^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6de8be711b28049a5cb93c954722c311c7d3f7f;p=pandora-kernel.git cfq-iosched: fix RCU problem in cfq_cic_lookup() cfq_cic_lookup() needs to properly protect ioc->ioc_data before dereferencing it and also exclude updaters of ioc->ioc_data as well. Also add a number of comments documenting why the existing RCU usage is OK. Thanks a lot to "Paul E. McKenney" for review and comments! Signed-off-by: Jens Axboe --- Reading git-diff-tree failed