bond: Simply bond sysfs group creation
authorEric W. Biederman <ebiederm@aristanetworks.com>
Thu, 29 Oct 2009 14:18:22 +0000 (14:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2009 19:41:19 +0000 (12:41 -0700)
commit6151b3d435feeeae7487032fcd5c8c7f281ba05c
tree0fa59fbfc8c7afb246870308dc742de931d926b3
parent0c509a6c9393b27a8c5a01acd4a72616206cfc24
bond: Simply bond sysfs group creation

This patch delegates the work of creating the sysfs groups
to the netdev layer and ultimately to the device layer.  This
closes races between uevents.

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_sysfs.c
drivers/net/bonding/bonding.h