diff options
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | 2019-02-11 10:49:48 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-14 11:35:50 -0500 |
commit | 415d39427317d1532d7f097471cc8aca5f229b69 (patch) | |
tree | b0bea840cacafc205a1976799b70b0345ad282d0 /certs | |
parent | Merge branch 'mlxsw-hwmon-and-thermal-extensions' (diff) | |
download | linux-dev-415d39427317d1532d7f097471cc8aca5f229b69.tar.xz linux-dev-415d39427317d1532d7f097471cc8aca5f229b69.zip |
bonding: check slave set command firstly
This patch is a little improvement. If user use the
command shown as below, we should print the info [1]
instead of [2]. The eth0 exists actually, and it may
confuse user.
$ echo "eth0" > /sys/class/net/bond4/bonding/slaves
[1] "bond4: no command found in slaves file - use +ifname or -ifname"
[2] "write error: No such device"
Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions