]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nfsd4: return default lease period
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 8 Jun 2018 16:33:17 +0000 (12:33 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 17 Jun 2018 14:20:47 +0000 (10:20 -0400)
commitd6ebf5088f09472c1136cd506bdc27034a6763f8
treeef537893ad3d2d8e464ce33ee662184659e8a5bf
parent03f318ca652889a1aa407e7088b9a2f6a14ae374
nfsd4: return default lease period

I don't have a good rationale for the lease period, but 90 seconds seems
long, and as long as we're allowing the server to extend the grace
period up to double the lease period, let's half the default to 45.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsctl.c