diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-02-07 19:32:49 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-03-16 08:34:28 -0400 |
commit | 1d179d6bd67369a52edea8562154b31ee20be1cc (patch) | |
tree | 6723936092d7e264fea199f2450c28394a0e9a90 /net/sunrpc/stats.c | |
parent | 244fcd2f9a904523f1b8c1a6c94749e230ac053a (diff) |
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/stats.c')
0 files changed, 0 insertions, 0 deletions