mirror_ubuntu-kernels/include/linux/lockd
NeilBrown 4ed9ef3260 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>
2024-09-01 10:04:56 -04:00
..
bind.h NFS: add a sysfs link to the lockd rpc_client 2023-06-19 15:06:07 -04:00
debug.h
lockd.h lockd: discard nlmsvc_timeout 2024-09-01 10:04:56 -04:00
nlm.h
share.h
xdr4.h lockd: set file_lock start and end when decoding nlm4 testargs 2023-03-14 14:00:55 -04:00
xdr.h lockd: adapt to breakup of struct file_lock 2024-02-05 13:11:43 +01:00