bonding: wrap slave state work
authorJiri Pirko <jpirko@redhat.com>
Sat, 12 Mar 2011 03:14:37 +0000 (03:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Mar 2011 19:51:20 +0000 (12:51 -0700)
commite30bc066ab67a4c8abcb972227ffe7c576f06a86
tree923689cd4ceade32c85d602a59b4e5feb320c300
parent0bd80dad57d82676ee484fb1f9aa4c5e8b5bc469
bonding: wrap slave state work

transfers slave->state into slave->backup (that it's going to transfer
into bitfield. Introduce wrapper inlines to do the work with it.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Reviewed-by: Nicolas de Peslo√ľan <nicolas.2p.debian@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_sysfs.c
drivers/net/bonding/bonding.h