commit | b743562819bd97cc7c282e870896bae8016b64b5 | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@redhat.com> | Thu Sep 11 22:49:25 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Sep 13 16:29:07 2014 -0400 |
tree | 609840f05bf9dd7c1d6fec0c6e447e305bd866a7 | |
parent | 1c72cfdc96e63bf975cab514c4ca4d8a661ba0e6 [diff] |
bonding: convert curr_slave_lock to a spinlock and rename it curr_slave_lock is now a misleading name, a much better name is mode_lock as it'll be used for each mode's purposes and it's no longer necessary to use a rwlock, a simple spinlock is enough. 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>