diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-07-10 18:07:14 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-10-03 20:49:05 -0400 |
commit | ca05cbae2a0468e5d78e9b4605936a8bf5da328b (patch) | |
tree | bd06e45fe70eb94249052670f024a9cec272ca8e /net/sunrpc/sched.c | |
parent | 9019fb391de02cbff422090768b73afe9f6174df (diff) | |
download | linux-ca05cbae2a0468e5d78e9b4605936a8bf5da328b.tar.gz linux-ca05cbae2a0468e5d78e9b4605936a8bf5da328b.tar.bz2 linux-ca05cbae2a0468e5d78e9b4605936a8bf5da328b.zip |
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: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/sched.c')
0 files changed, 0 insertions, 0 deletions