summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_sysfs_slave.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-01-22 09:05:53 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-22 21:57:05 -0800
commit0a9099f8836cd5f91f811078b367e0227e0a20f6 (patch)
treeb81f5b016b02a430704b02b892304488a5feaac5 /drivers/net/bonding/bond_sysfs_slave.c
parentf618002b0b598036ebb8feceb44ea8e05f4cd37b (diff)
downloadlinux-0a9099f8836cd5f91f811078b367e0227e0a20f6.tar.gz
linux-0a9099f8836cd5f91f811078b367e0227e0a20f6.tar.bz2
linux-0a9099f8836cd5f91f811078b367e0227e0a20f6.zip
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>
Diffstat (limited to 'drivers/net/bonding/bond_sysfs_slave.c')
-rw-r--r--drivers/net/bonding/bond_sysfs_slave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_sysfs_slave.c b/drivers/net/bonding/bond_sysfs_slave.c
index fb4e5edb3ed0..2e4eec5450c8 100644
--- a/drivers/net/bonding/bond_sysfs_slave.c
+++ b/drivers/net/bonding/bond_sysfs_slave.c
@@ -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;