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 - 10:06 am

On Mon, 2010-05-24 at 17:47 +0100, Al Viro wrote: 


I believe that the answer is that most filehandle types include an
encoding of the inode number of the export directory. In other words, as
long as '/a' and '/b' are different directories, then they will result
in the generation of different filehandles for /a/x and /b/x.

It seems that is not always the case, though. According to the
definition of mk_fsid(), it looks as if the 'FSID_UUID8' and
'FSID_UUID16' filehandle types only encode the uuid of the filesystem,
and have no inode information. They will therefore not be able to
distinguish between an export through '/a' or '/b'.

Neil, Bruce am I right?

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)