linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* WTF: driver-core-next contains recursive directory removal!
@ 2013-10-30 22:38 Eric W. Biederman
  2013-10-30 22:44 ` Greg Kroah-Hartman
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Eric W. Biederman @ 2013-10-30 22:38 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Tejun Heo, Linus Torvalds, linux-kernel


Greg what is  going on?  I just looked and Tejuns ill-conceived recursive
directory deletion code has been merged into your driver-core-next tree.

That code is semantically broken.  I reviewed it and I gave the reasons
why it was wrong.  You came up to me and mentioned at LPC that you
agreed with my reasons.  And yet I just looked in driver-core-next and
there the code is in all of it's broken glory.

Please pull out that crap it has no business ever going into a stable
kernel.

The short version is unless someone has drastically changed pci hotplug
since last time I looked the code is dramatically wrong as pci hotplug
removes directories in the wrong order remove the parent first.

So now we have sysfs code that is remove directories multiple times, and
we just finished the conversation about sysfs_assoc_lock where Tejun was
just explaining how multiple removal of kobjects is not safe.

This sysfs semantic change is an unmaintainable disaster.

Linus if you would be so kind as to not merge this disaster when the
merge window opens I would very much appreciate it.

Eric

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-10-31 15:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30 22:38 WTF: driver-core-next contains recursive directory removal! Eric W. Biederman
2013-10-30 22:44 ` Greg Kroah-Hartman
2013-10-30 22:57   ` Eric W. Biederman
2013-10-31 15:24     ` Tejun Heo
2013-10-31  1:19   ` Eric W. Biederman
2013-10-31 15:29     ` Tejun Heo
2013-10-31 13:17 ` Bjorn Helgaas
2013-10-31 15:02 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).