diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2023-06-15 14:07:28 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2023-06-19 15:06:07 -0400 |
commit | d97c05897757a5d7fa131073d04a2fb29b5836ee (patch) | |
tree | b5a554d50346fd195580b0c17d77a3f6bcb874ca /include/linux/lockd | |
parent | e13b549319a684dd80c4cc25e9567a5c84007e32 (diff) | |
download | lwn-d97c05897757a5d7fa131073d04a2fb29b5836ee.tar.gz lwn-d97c05897757a5d7fa131073d04a2fb29b5836ee.zip |
NFS: add a sysfs link to the lockd rpc_client
After lockd is started, add a symlink for lockd's rpc_client under
NFS' superblock sysfs.
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/lockd')
-rw-r--r-- | include/linux/lockd/bind.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/lockd/bind.h b/include/linux/lockd/bind.h index 3bc9f7410e21..c53c81242e72 100644 --- a/include/linux/lockd/bind.h +++ b/include/linux/lockd/bind.h @@ -20,6 +20,7 @@ /* Dummy declarations */ struct svc_rqst; struct rpc_task; +struct rpc_clnt; /* * This is the set of functions for lockd->nfsd communication @@ -56,6 +57,7 @@ struct nlmclnt_initdata { extern struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init); extern void nlmclnt_done(struct nlm_host *host); +extern struct rpc_clnt *nlmclnt_rpc_clnt(struct nlm_host *host); /* * NLM client operations provide a means to modify RPC processing of NLM |