diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-09-11 22:49:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-13 16:29:07 -0400 |
commit | e470259fa1bd7ce5a375b16c5ec97cc0e83b058d (patch) | |
tree | 54598d31df40f265aed61901b30a64f32b62b16b /drivers/net/bonding/bonding.h | |
parent | 4bab16d7c97498e91564231b922d49f52efaf7d4 (diff) |
bonding: 3ad: convert to bond->mode_lock
Now that we have bond->mode_lock, we can remove the state_machine_lock
and use it in its place. There're no fast paths requiring the per-port
spinlocks so it should be okay to consolidate them into mode_lock.
Also move it inside the unbinding function as we don't want to expose
mode_lock outside of the specific modes.
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>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
0 files changed, 0 insertions, 0 deletions