Re: 2.2.12 NFS bug

Peter Benie (pjb1008@cam.ac.uk)
Fri, 24 Sep 1999 10:24:06 +0100


Trond Myklebust writes ("Re: 2.2.12 NFS bug"):
>
> Are you using the CONFIG_NFSD_SUN option on the server? That can give
> this type of problems.

If that's the case, CONFIG_NFSD_SUN is implemented incorrectly. A
directory should have the same fsid and fileid whether or not it is
used as a mount point. That is, knfsd should be exporting _covered_
directory, not the covering directory, to guarantee no inode aliasing.

This does not appear to be the case at the moment. To behave like
Sun's nfsd, nfsd_lookup needs to pass an option to lookup_dentry to
get it not to call follow_mount.

Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/