Skip to content
Commit 342a67f0 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Label the dentry with a verifier in nfs_link(), nfs_symlink()



After the success of an operation such as link(), or symlink(), we
expect to add the dentry back to the dcache as an ordinary positive
dentry.
However in NFS, unless it is labelled with the appropriate verifier for
the parent directory state, then nfs_lookup_revalidate will end up
discarding that dentry and forcing a new lookup.

The fix is to ensure that we relabel the dentry appropriately on
success.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 9e1ff307
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