Re: [PATCH] sysfs: Optionally count subdirectories to support buggyapplications

From: Greg Kroah-Hartman
Date: Thu Mar 08 2012 - 16:05:41 EST


On Mon, Mar 05, 2012 at 08:47:27AM -0800, Linus Torvalds wrote:
> On Mon, Mar 5, 2012 at 8:09 AM, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > I don't remember.  I thought there was a proposed patch for this issue
> > from Eric, but I don't see it in my queue anywhere.
>
> That patch was an abortion. Adding a config option for behavior like
> this is totally bogus, and the only reason for that config option was
> that sysfs did silly things.
>
> It's only in -next, though, I was assuming that the whole "Kill nlink
> counting" commit never makes it to me. Because I won't take it.
>
> I outlined how the counting could easily be done without actually
> having to maintain an explicit count in the sysfs.
>
> Or we should just keep doing the counting.

Ok, I've now reverted this patch in my tree.

greg k-h
--
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/