From: dingtianhong Date: Fri, 13 Dec 2013 02:20:22 +0000 (+0800) Subject: bonding: remove unwanted lock for bond_store_primaryxxx() X-Git-Tag: v3.14-rc1~94^2~495^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75ad932c182d0b3d2cab24a2e2252bb7acd42d45;p=pandora-kernel.git bonding: remove unwanted lock for bond_store_primaryxxx() The bond_select_active_slave() will not release and acquire bond lock, so it is no need to read the bond lock for them, and the bond_store_primaryxxx() is already in RTNL, so remove the unwanted lock. Suggested-by: Jay Vosburgh Suggested-by: Veaceslav Falico Signed-off-by: Ding Tianhong Signed-off-by: David S. Miller --- Reading git-diff-tree failed