diff options
| author | 2014-07-15 06:56:55 -0700 | |
|---|---|---|
| committer | 2014-07-15 17:49:42 -0700 | |
| commit | 4740d6382790077f22c606d03804f5d9f15b90d7 (patch) | |
| tree | 4f607b2f834ba4f547312136316d606d62fcdac0 /fs/btrfs/dev-replace.c | |
| parent | bonding: use rcu_access_pointer() in bonding_show_mii_status() (diff) | |
| download | wireguard-linux-4740d6382790077f22c606d03804f5d9f15b90d7.tar.xz wireguard-linux-4740d6382790077f22c606d03804f5d9f15b90d7.zip | |
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 <edumazet@google.com>
Acked-by: Veaceslav Falico <vfalico@gmail.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
