Re: [PATCH][2.6] fix bridge sysfs improperly initialised knobject

From: David S. Miller
Date: Thu Jun 17 2004 - 15:54:05 EST


On Thu, 17 Jun 2004 13:46:36 -0700
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> > -struct subsystem bridge_subsys = {
> > - .kset = { .hotplug_ops = NULL },
> > -};
> > +decl_subsys_name(bridge, net_bridge, NULL, NULL);
> >
> > void br_sysfs_init(void)
> > {
>
> Yes, this would get rid of the name, but then wouldn't bridge show up
> as top level subsystem /sys/bridge.
>
> Is there no way to register without causing bogus hotplug events?

Ok, for now I'm putting the change in, since 2.6.8 is not "around
the corner" we'll have time to put a better fix into the tree.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/