NFS: Store the credential of the mount process in the nfs_server

Store the credential of the mount process so that we can determine
information such as the user namespace.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
Trond Myklebust
2019-04-24 17:46:43 -04:00
committed by Anna Schumaker
parent 79caa5fad4
commit 1a58e8a0e5
5 changed files with 18 additions and 1 deletions

View File

@@ -241,6 +241,9 @@ struct nfs_server {
/* XDR related information */
unsigned int read_hdrsize;
/* User namespace info */
const struct cred *cred;
};
/* Server capabilities */