From: Jiri Pirko Date: Wed, 22 Jan 2014 08:05:53 +0000 (+0100) Subject: bonding: change name of sysfs dir for bonding slaves X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a9099f8836cd5f91f811078b367e0227e0a20f6;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: David S. Miller --- 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;