forked from luck/tmp_suning_uos_patched
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: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f618002b0b
commit
0a9099f883
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user