mbox series

[0/2] Add NFSv3 emulation of the lookupp operation

Message ID 20201019175330.595894-1-trondmy@kernel.org (mailing list archive)
Headers show
Series Add NFSv3 emulation of the lookupp operation | expand


trondmy@kernel.org Oct. 19, 2020, 5:53 p.m. UTC
From: Trond Myklebust <trond.myklebust@hammerspace.com>

In order to use the open-by-filehandle functionality with NFSv3, we
need to ensure that the NFS client can convert disconnected dentries
into connected ones by doing a reverse walk of the filesystem path.
To do so, NFSv4 provides the LOOKUPP operation, which does not
exist in NFSv3, but which can usually be emulated using lookup("..").

Trond Myklebust (2):
  NFSv3: Refactor nfs3_proc_lookup() to split out the dentry
  NFSv3: Add emulation of the lookupp() operation

 fs/nfs/nfs3proc.c | 43 ++++++++++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 11 deletions(-)