diff options
author | Amerigo Wang <amwang@redhat.com> | 2011-05-19 17:39:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-22 21:01:19 -0400 |
commit | daf9209bb2c8b07ca025eac82e3d175534086c77 (patch) | |
tree | 5101649f4edf2cf316e334c49380b6dd1ecebc77 /drivers/net/bonding/bond_main.c | |
parent | bb8ed6302b0613339c1a5f0a2cb0b3807c0af611 (diff) |
net: rename NETDEV_BONDING_DESLAVE to NETDEV_RELEASE
s/NETDEV_BONDING_DESLAVE/NETDEV_RELEASE/ as Andy suggested.
Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Cc: Neil Horman <nhorman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index f4960f516c39..6dc428461541 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -1974,7 +1974,7 @@ int bond_release(struct net_device *bond_dev, struct net_device *slave_dev) | |||
1974 | } | 1974 | } |
1975 | 1975 | ||
1976 | block_netpoll_tx(); | 1976 | block_netpoll_tx(); |
1977 | netdev_bonding_change(bond_dev, NETDEV_BONDING_DESLAVE); | 1977 | netdev_bonding_change(bond_dev, NETDEV_RELEASE); |
1978 | write_lock_bh(&bond->lock); | 1978 | write_lock_bh(&bond->lock); |
1979 | 1979 | ||
1980 | slave = bond_get_slave_by_dev(bond, slave_dev); | 1980 | slave = bond_get_slave_by_dev(bond, slave_dev); |