NFSD: Zero counters when the filecache is re-initialized
authorChuck Lever <chuck.lever@oracle.com>
Fri, 8 Jul 2022 18:24:51 +0000 (14:24 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 30 Jul 2022 00:10:07 +0000 (20:10 -0400)
commit8b330f78040cbe16cf8029df70391b2a491f17e2
tree7117af9cab201f660177340fb1ecf86dd323af14
parentdf2aff524faceaf743b7c5ab0f4fb86cb511f782
NFSD: Zero counters when the filecache is re-initialized

If nfsd_file_cache_init() is called after a shutdown, be sure the
stat counters are reset.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/filecache.c