aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd/svclock.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2021-11-29 15:51:25 +1100
committerChuck Lever <chuck.lever@oracle.com>2021-12-13 13:42:54 -0500
commit2840fe864c91a0fe822169b1fbfddbcac9aeac43 (patch)
treeef17d026aa7647efc520b87dde503c8b590f1841 /fs/lockd/svclock.c
parentNFSD: simplify locking for network notifier. (diff)
downloadlinux-dev-2840fe864c91a0fe822169b1fbfddbcac9aeac43.tar.xz
linux-dev-2840fe864c91a0fe822169b1fbfddbcac9aeac43.zip
lockd: introduce nlmsvc_serv
lockd has two globals - nlmsvc_task and nlmsvc_rqst - but mostly it wants the 'struct svc_serv', and when it doesn't want it exactly it can get to what it wants from the serv. This patch is a first step to removing nlmsvc_task and nlmsvc_rqst. It introduces nlmsvc_serv to store the 'struct svc_serv*'. This is set as soon as the serv is created, and cleared only when it is destroyed. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/lockd/svclock.c')
0 files changed, 0 insertions, 0 deletions