Re: Progress on knfsd

Olaf Kirch (
Wed, 12 Nov 1997 09:13:23 +0100

On Tue, Nov 11, 1997 at 09:23:27PM -0500, Bill Hawes wrote:
> What was happening is that I had inadvertently left a symlink in my
> exported nfs directory, which pointed back to another partition.

Whoever did the dentry changes to knfsd broke this. The way it used to
work was that lookup would never follow symlinks; by definition of the
spec, it should always return the symlink inode itself. It is then
up to the client to call READLINK and interpret the resulting pathname
(and there are a multitude of ways to deal with that, BTW).

The problem is that currently, vfs.c:nfsd_lookup calls dentry_lookup
with a follow_link argument of 1. That should be 0.


Olaf Kirch         |  --- o --- Nous sommes du soleil we love when we play  |    / | \   sol.dhoop.naytheet.ah    +-------------------- Why Not?! -----------------------