Commit 0a9099f8 authored by Jiri Pirko's avatar Jiri Pirko Committed by 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: default avatarJiri Pirko <jiri@resnulli.us>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f618002b
...@@ -118,7 +118,7 @@ int bond_sysfs_slave_add(struct slave *slave) ...@@ -118,7 +118,7 @@ int bond_sysfs_slave_add(struct slave *slave)
int err; int err;
err = kobject_init_and_add(&slave->kobj, &slave_ktype, err = kobject_init_and_add(&slave->kobj, &slave_ktype,
&(slave->dev->dev.kobj), "slave"); &(slave->dev->dev.kobj), "bonding_slave");
if (err) if (err)
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment