NFSD: refactoring v4 specific code to a helper in nfs4state.c
authorDai Ngo <dai.ngo@oracle.com>
Fri, 15 Jul 2022 23:54:51 +0000 (16:54 -0700)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 30 Jul 2022 00:16:56 +0000 (20:16 -0400)
commit6867137ebcf4155fe25f2ecf7c29b9fb90a76d1d
tree6a8783ea3c699c7fd7c97cc21b44ece5000b72a1
parent427f5f83a3191cbf024c5aea6e5b601cdf88d895
NFSD: refactoring v4 specific code to a helper in nfs4state.c

This patch moves the v4 specific code from nfsd_init_net() to
nfsd4_init_leases_net() helper in nfs4state.c

Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c
fs/nfsd/nfsctl.c
fs/nfsd/nfsd.h