summaryrefslogtreecommitdiff
path: root/net/sunrpc/svc.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2024-07-15 17:14:14 +1000
committerChuck Lever <chuck.lever@oracle.com>2024-09-01 10:04:56 -0400
commit4ed9ef32606386efc562bada891d7baa16fc46b4 (patch)
tree80fc169923040a27a48acad26e84bc03e1117157 /net/sunrpc/svc.c
parent8203ab8a9dbe7b2a060fa6bdbfe2f28cb2f73172 (diff)
lockd: discard nlmsvc_timeout
nlmsvc_timeout always has the same value as (nlm_timeout * HZ), so use that in the one place that nlmsvc_timeout is used. In truth it *might* not always be the same as nlmsvc_timeout is only set when lockd is started while nlm_timeout can be set at anytime via sysctl. I think this difference it not helpful so removing it is good. Also remove the test for nlm_timout being 0. This is not possible - unless a module parameter is used to set the minimum timeout to 0, and if that happens then it probably should be honoured. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/svc.c')
0 files changed, 0 insertions, 0 deletions