diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-02-08 03:32:49 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-03-16 15:34:28 +0300 |
commit | 1d179d6bd67369a52edea8562154b31ee20be1cc (patch) | |
tree | 6723936092d7e264fea199f2450c28394a0e9a90 /net/sunrpc | |
parent | 244fcd2f9a904523f1b8c1a6c94749e230ac053a (diff) | |
download | linux-1d179d6bd67369a52edea8562154b31ee20be1cc.tar.xz |
NFS: alloc_nfs_open_context() must use the file cred when available
If we're creating a nfs_open_context() for a specific file pointer,
we must use the cred assigned to that file.
Fixes: a52458b48af1 ("NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'.")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions