mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
e13b549319
commit
d97c058977
3 changed files with 9 additions and 0 deletions
|
@ -93,6 +93,12 @@ void nlmclnt_prepare_block(struct nlm_wait *block, struct nlm_host *host, struct
|
|||
block->b_status = nlm_lck_blocked;
|
||||
}
|
||||
|
||||
struct rpc_clnt *nlmclnt_rpc_clnt(struct nlm_host *host)
|
||||
{
|
||||
return host->h_rpcclnt;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(nlmclnt_rpc_clnt);
|
||||
|
||||
/*
|
||||
* Queue up a lock for blocking so that the GRANTED request can see it
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue