commit | 1d179d6bd67369a52edea8562154b31ee20be1cc | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Fri Feb 07 19:32:49 2020 -0500 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Mar 16 08:34:28 2020 -0400 |
tree | 6723936092d7e264fea199f2450c28394a0e9a90 | |
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>