From: Eric Dumazet Date: Tue, 15 Jul 2014 13:56:55 +0000 (-0700) Subject: bonding: add proper __rcu annotation for curr_active_slave X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~159^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4740d6382790077f22c606d03804f5d9f15b90d7;p=pandora-kernel.git bonding: add proper __rcu annotation for curr_active_slave RCU was added to bonding in linux-3.12 but lacked proper sparse annotations. Using __rcu annotation actually helps to spot all accesses to bond->curr_active_slave are correctly protected, with LOCKDEP support. Signed-off-by: Eric Dumazet Acked-by: Veaceslav Falico Reviewed-by: Nikolay Aleksandrov Signed-off-by: David S. Miller --- Reading git-diff-tree failed