Skip to content

Commit

Permalink
bonding: change name of sysfs dir for bonding slaves
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Jan 23, 2014
1 parent f618002 commit 0a9099f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bonding/bond_sysfs_slave.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0a9099f

Please sign in to comment.