OSDN Git Service

nfsd: helper for laundromat expiry calculations
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 2 Mar 2021 15:46:23 +0000 (10:46 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 22 Mar 2021 14:19:03 +0000 (10:19 -0400)
commit7f7e7a4006f74b031718055a0751c70c2e3d5e7e
tree93df1d03de978d7f56b428566587aa2404819c19
parent219a170502b3d597c52eeec088aee8fbf7b90da5
nfsd: helper for laundromat expiry calculations

We do this same logic repeatedly, and it's easy to get the sense of the
comparison wrong.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c