From: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> 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(".."). v2: - Fix compilation issues for "NFSv3: Refactor nfs3_proc_lookup() to split out the dentry" v3: - Fix the string length calculation - Apply the NFS_MOUNT_SOFTREVAL flag in both the NFSv3 and NFSv4 lookupp Trond Myklebust (3): NFSv3: Refactor nfs3_proc_lookup() to split out the dentry NFSv3: Add emulation of the lookupp() operation NFSv4: Observe the NFS_MOUNT_SOFTREVAL flag in _nfs4_proc_lookupp fs/nfs/nfs3proc.c | 48 ++++++++++++++++++++++++++++++++++++----------- fs/nfs/nfs4proc.c | 6 +++++- 2 files changed, 42 insertions(+), 12 deletions(-) -- 2.26.2