Skip to content

Commit 0a9099f

Browse files
jpirkodavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f618002 commit 0a9099f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/bonding/bond_sysfs_slave.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ int bond_sysfs_slave_add(struct slave *slave)
118118
int err;
119119

120120
err = kobject_init_and_add(&slave->kobj, &slave_ktype,
121-
&(slave->dev->dev.kobj), "slave");
121+
&(slave->dev->dev.kobj), "bonding_slave");
122122
if (err)
123123
return err;
124124

0 commit comments

Comments
 (0)