bonding: alb: convert to bond->mode_lock
The ALB/TLB specific spinlocks are no longer necessary as we now have bond->mode_lock for this purpose, so convert them and remove them from struct alb_bond_info. Also remove the unneeded lock/unlock functions and use spin_lock/unlock directly. Suggested-by:Jay Vosburgh <jay.vosburgh@canonical.com> Signed-off-by:
Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/bonding/bond_alb.c 33 additions, 75 deletionsdrivers/net/bonding/bond_alb.c
- drivers/net/bonding/bond_alb.h 0 additions, 2 deletionsdrivers/net/bonding/bond_alb.h
- drivers/net/bonding/bond_debugfs.c 2 additions, 2 deletionsdrivers/net/bonding/bond_debugfs.c
- drivers/net/bonding/bond_main.c 0 additions, 10 deletionsdrivers/net/bonding/bond_main.c
Loading
Please register or sign in to comment