nfsd: move reply cache initialization into nfsd startup
[ Upstream commit f5f9d4a3 ] There's no need to start the reply cache before nfsd is up and running, and doing so means that we register a shrinker for every net namespace instead of just the ones where nfsd is running. Move it to the per-net nfsd startup instead. Reported-by:Dai Ngo <dai.ngo@oracle.com> Signed-off-by:
Jeff Layton <jlayton@kernel.org> Stable-dep-of: ed9ab734 ("nfsd: move init of percpu reply_cache_stats counters back to nfsd_init_net") Signed-off-by:
Chuck Lever <chuck.lever@oracle.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading