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

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: a52458b4

 ("NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'.")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 244fcd2f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment