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

NFS: Fix up nfs_ctx_key_to_expire()



If the cached credential exists but doesn't have any expiration callback
then exit early.
Fix up atomicity issues when replacing the credential with a new one
since the existing code could lead to refcount leaks.

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