Re: [PATCH] VFS: fix recent breakage of FS_REVAL_DOT

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Trond Myklebust
Date: Monday, May 24, 2010 - 9:21 am

On Mon, 2010-05-24 at 16:50 +0100, Al Viro wrote: 

When mounting /x/y/c in your example above, the NFSv4 protocol requires
the client itself to resolve the symlink, and then walk down /a/b/c
(looking up component by component), so it will in practice not see
anything other than /a/b/c.

If it walks down to a referral, and then calls nfs_do_refmount, it will
do the same thing: obtain a path /e/f/g on the new server, and then walk
down that component by component while resolving any symlinks and/or
referrals that it crosses in the process.

Cheers
  Trond

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] VFS: fix recent breakage of FS_REVAL_DOT, Neil Brown, (Sun May 23, 11:57 pm)
Re: [PATCH] VFS: fix recent breakage of FS_REVAL_DOT, Trond Myklebust, (Mon May 24, 9:21 am)
Re: [PATCH] VFS: fix recent breakage of FS_REVAL_DOT, Trond Myklebust, (Mon May 24, 10:06 am)
Re: [PATCH] VFS: fix recent breakage of FS_REVAL_DOT, Trond Myklebust, (Mon May 24, 2:13 pm)
Re: [PATCH] VFS: fix recent breakage of FS_REVAL_DOT, Neil Brown, (Mon May 24, 6:14 pm)
Re: [PATCH] VFS: fix recent breakage of FS_REVAL_DOT, Neil Brown, (Mon May 24, 6:35 pm)
Re: [PATCH] VFS: fix recent breakage of FS_REVAL_DOT, Trond Myklebust, (Tue May 25, 5:57 am)
Re: [PATCH] VFS: fix recent breakage of FS_REVAL_DOT, Trond Myklebust, (Tue May 25, 6:04 am)
Re: [PATCH] VFS: fix recent breakage of FS_REVAL_DOT, Neil Brown, (Tue May 25, 7:52 pm)