lkml.org 
[lkml]   [1997]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Progress on knfsd
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
--
Olaf Kirch | --- o --- Nous sommes du soleil we love when we play
okir@monad.swb.de | / | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax
okir@caldera.de +-------------------- Why Not?! -----------------------

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.070 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site