bonding: remove unwanted bond lock for enslave processing
authordingtianhong <dingtianhong@huawei.com>
Mon, 10 Feb 2014 08:33:59 +0000 (16:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Feb 2014 00:54:29 +0000 (16:54 -0800)
commit6b8790b5006b5ca3ee1c039c3c909833d7958716
tree8604c7edd2a28c6ecc50e31a26932413823d9016
parent19a38d8e0aa33b4f4d11d3b4baa902ad169daa80
bonding: remove unwanted bond lock for enslave processing

The bond enslave processing don't hold bond->lock anymore,
so release an unlocked rw lock will cause warning message,
remove the unwanted read_unlock(&bond->lock).

Cc: Jay Vosburgh <fubar@us.ibm.com>
Cc: Veaceslav Falico <vfalico@redhat.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Acked-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c