bonding: handle case of device named bonding_master
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 15 May 2008 05:35:04 +0000 (22:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 May 2008 05:35:04 +0000 (22:35 -0700)
commit38d2f38be9e4a2f1e3324c973a903aa972f71d0f
treef5a2b3b4cd26abefead85a723dc9e64494bf9e13
parent0599ad53fee2d084f9ba26247d7452f06a40d298
bonding: handle case of device named bonding_master

If device already exists named bonding_masters, then fail. This is a wierd
corner case only a QA group could love.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_sysfs.c