On Thu, Mar 7, 2013 at 2:50 PM, Linus Torvalds <torva...@linux-foundation.org> wrote: > > Al, I think the BUG_ON() is simply bogus. Should we just remove it? Or > is there some conceptual reason why we can't handle a symlink there?
Hmm. Removing the BUG_ON() makes things work. Sure, you can get odd files that are symlinks, but that's kind of what you ask for when you do that whole O_NOFOLLOW thing, so the fact that you can then get them through opening the /proc/<pid>/fd/<fd> file would seem to be roughly the right thing regardless. So I think I'll queue up that removal, although I'd still be happier with input from Al. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/