提交 0a9099f8 编写于 作者: J Jiri Pirko 提交者: David S. Miller

bonding: change name of sysfs dir for bonding slaves

Allow user to identify easily what the attributes are related to. Change
the name of the group to "bonding_slave" to be similar to master which
is named "bonding".
Signed-off-by: NJiri Pirko <jiri@resnulli.us>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 f618002b
......@@ -118,7 +118,7 @@ int bond_sysfs_slave_add(struct slave *slave)
int err;
err = kobject_init_and_add(&slave->kobj, &slave_ktype,
&(slave->dev->dev.kobj), "slave");
&(slave->dev->dev.kobj), "bonding_slave");
if (err)
return err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册