summaryrefslogtreecommitdiff
path: root/include/linux/lockd/bind.h
diff options
context:
space:
mode:
authorTrond Myklebust <trondmy@gmail.com>2019-04-24 17:46:50 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-04-26 17:51:23 -0400
commitb422df915cef80333d7a1732e6ed81f41db12b79 (patch)
treefefeaf3f1ff40381b9b7cdbd0a20d994920c9c22 /include/linux/lockd/bind.h
parent3b7eb5e35d0f55541452e91ca66798c16a81ad4a (diff)
lockd: Store the lockd client credential in struct nlm_host
When we create a new lockd client, we want to be able to pass the correct credential of the process that created the struct nlm_host. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux/lockd/bind.h')
-rw-r--r--include/linux/lockd/bind.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lockd/bind.h b/include/linux/lockd/bind.h
index 053a4ef3d431..8c0cf1059443 100644
--- a/include/linux/lockd/bind.h
+++ b/include/linux/lockd/bind.h
@@ -46,6 +46,7 @@ struct nlmclnt_initdata {
int noresvport;
struct net *net;
const struct nlmclnt_operations *nlmclnt_ops;
+ const struct cred *cred;
};
/*