On Thu, Jun 28, 2018 at 7:22 PM Benjamin Herrenschmidt <b...@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