Messages in this thread | | | From | Linus Torvalds <> | Date | Fri, 29 Jun 2018 06:56:49 -0700 | Subject | Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier |
| |
On Thu, Jun 28, 2018 at 7:22 PM Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote: > > This fixes it by instead doing an explicit kobject_del() when > the glue dir is empty, by keeping track of the number of > child devices of the gluedir.
Ugh. I was hoping that you'd just do the "only check duplicate names if actually in use" instead.
This patch seems to make patch 1/2 pointless. No?
Linus
| |