Re: make flock_lock_file_wait static

From: Al Viro
Date: Wed Jan 26 2005 - 05:02:21 EST


On Wed, Jan 26, 2005 at 09:55:04AM +0000, Christoph Hellwig wrote:
> On Wed, Jan 26, 2005 at 09:51:31AM +0000, Al Viro wrote:
> > On Wed, Jan 26, 2005 at 09:43:08AM +0000, Christoph Hellwig wrote:
> > > > o vfs_follow_link(): used to interpret symbolic links, which
> > > > might point outside of SAN Filesystem.
> > >
> > > This one is going away very soon, including the whole old-style
> > > ->follow_link support - for technical reasons.
> >
> > Not really. In some cases it _is_ legitimate. Trivial example:
> > /proc/self.
>
> Which is an extreme special case an not modular.

I'm not convinced. Sure, leaving traversal to caller is preferable.
I don't believe that it should be enforced. That's why we have a way
to enforce a separate limit on that sort of recursion...
-
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/