Tonghao Zhang
415d394273
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 >
2019-02-14 11:35:50 -05:00
..
2019-01-21 09:58:31 -08:00
2019-02-01 15:50:26 +01:00
2019-01-26 15:03:43 -08:00
2019-01-17 11:27:00 -08:00
2018-12-21 21:27:21 +01:00
2019-02-08 10:53:44 -08:00
2019-01-10 13:39:19 +02:00
2019-01-20 09:12:50 +12:00
2018-12-19 13:43:42 +01:00
2018-12-31 17:32:35 -08:00
2018-12-29 08:20:44 -07:00
2019-01-25 13:03:34 -10:00
2019-01-24 11:41:48 -08:00
2019-01-05 09:50:07 -08:00
2019-01-11 10:09:51 +01:00
2019-01-30 22:57:42 +01:00
2019-02-08 15:00:17 -08:00
2018-12-28 12:11:47 -08:00
2018-12-11 11:40:13 +09:00
2019-01-08 07:58:37 -05:00
2019-01-04 13:13:46 -08:00
2019-01-24 17:13:59 +01:00
2019-01-22 20:40:59 -05:00
2019-02-02 11:27:29 +01:00
2019-01-31 16:19:48 +01:00
2018-12-02 16:25:28 -08:00
2018-12-10 10:17:45 +01:00
2019-01-28 15:28:43 +01:00
2019-02-08 10:32:49 +10:00
2019-01-29 12:09:11 +01:00
2018-12-05 00:16:59 +01:00
2019-01-09 19:20:31 -05:00
2019-01-17 12:54:52 -08:00
2019-01-03 11:42:10 -08:00
2018-12-19 20:21:06 +01:00
2019-01-11 00:15:04 +01:00
2019-01-26 11:14:25 +01:00
2019-01-31 08:25:09 -07:00
2019-02-03 13:10:41 +01:00
2019-01-29 13:57:22 -07:00
2019-01-31 23:22:57 -08:00
2019-01-30 09:30:03 -08:00
2019-02-01 16:56:30 -08:00
2019-02-12 13:17:41 -05:00
2019-01-17 22:27:39 +01:00
2018-12-22 14:45:35 -07:00
2019-01-03 18:57:57 -08:00
2018-12-21 22:31:26 -06:00
2019-02-06 17:24:37 -05:00
2019-01-16 11:13:25 -05:00
2019-01-05 11:30:37 -08:00
2018-12-28 16:52:18 -08:00
2018-12-18 23:13:12 -05:00
2019-01-29 10:55:34 +01:00
2019-02-01 15:53:54 +01:00
2019-01-28 12:49:28 +01:00
2019-01-18 10:27:01 +01:00
2019-02-14 11:35:50 -05:00
2019-01-08 07:58:37 -05:00
2019-01-21 09:57:43 -08:00
2019-01-26 12:42:41 -08:00
2018-12-06 15:45:46 +01:00
2019-02-04 18:33:36 -08:00
2019-01-04 12:19:40 +01:00
2018-12-29 13:40:29 -08:00
2019-01-31 23:06:17 -08:00
2019-01-05 11:23:17 -08:00
2019-01-04 10:13:27 +00:00
2019-02-07 18:10:25 -08:00
2019-01-22 10:52:39 +01:00
2019-01-29 10:59:07 +01:00
2019-01-03 18:57:57 -08:00
2018-12-28 20:22:45 -08:00
2018-12-29 13:03:29 -08:00
2019-02-12 12:58:48 -05:00
2018-12-24 12:06:56 +01:00
2019-01-08 07:58:37 -05:00
2018-12-22 00:25:54 +09:00
2018-12-21 13:43:35 +00:00
2019-01-14 20:15:19 -05:00
2019-01-07 16:38:51 +01:00
2019-01-01 13:24:31 -08:00
2019-02-12 13:14:24 -05:00
2018-12-26 10:32:18 -08:00
2019-02-02 10:12:53 -08:00
2018-12-06 15:50:06 +01:00
2019-01-16 05:13:36 +12:00
2019-01-08 07:58:37 -05:00
2019-02-12 17:31:30 -08:00
2019-01-22 20:54:00 -05:00
2018-12-31 13:06:30 -08:00
2019-01-23 16:23:41 +13:00
2018-12-05 12:01:56 +03:00
2019-02-08 10:49:55 -08:00
2018-12-28 20:54:57 -08:00
2019-01-31 09:14:00 +01:00
2019-01-23 08:20:43 -07:00
2019-01-28 22:53:09 -08:00
2019-01-25 12:58:40 -10:00
2019-02-05 15:29:48 -05:00
2018-12-22 00:25:54 +09:00
2019-01-07 10:10:35 +01:00
2019-01-23 22:14:56 +01:00
2018-12-29 13:40:29 -08:00