From: Nikolay Aleksandrov Date: Thu, 11 Sep 2014 20:49:27 +0000 (+0200) Subject: bonding: 3ad: convert to bond->mode_lock X-Git-Tag: fixes-against-v3.18-rc2~81^2~73^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e470259fa1bd7ce5a375b16c5ec97cc0e83b058d;p=pandora-kernel.git 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 Signed-off-by: Nikolay Aleksandrov Signed-off-by: David S. Miller --- Reading git-diff-tree failed