Skip to content
Commit 4e99a1ff authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix dentry revalidation for NFSv4 referrals and mountpoint crossings



As long as the directory contents haven't changed, we should just let the
path walk proceed to cross the mountpoint. Apart from being an optimisation
in the case of 'nohide' mountpoint traversals, it also fixes an issue with
referrals: referral inodes don't have valid filehandles, so calling
nfs_revalidate_inode() on them is a bug.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent c37dcd33
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment