From: Paul E. McKenney Date: Mon, 17 Feb 2014 21:35:57 +0000 (-0800) Subject: block: Substitute rcu_access_pointer() for rcu_dereference_raw() X-Git-Tag: v3.15-rc1~135^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec6c676a08b0779a32c9cec9fae7532add32fe15;p=pandora-kernel.git block: Substitute rcu_access_pointer() for rcu_dereference_raw() (Trivial patch.) If the code is looking at the RCU-protected pointer itself, but not dereferencing it, the rcu_dereference() functions can be downgraded to rcu_access_pointer(). This commit makes this downgrade in blkg_destroy() and ioc_destroy_icq(), both of which simply compare the RCU-protected pointer against another pointer with no dereferencing. Signed-off-by: Paul E. McKenney Cc: Jens Axboe Signed-off-by: Jens Axboe --- Reading git-diff-tree failed