summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/filecache.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-01-26 18:21:16 +0100
committerChuck Lever <chuck.lever@oracle.com>2023-04-26 15:04:59 +0200
commit972cc0e0924598cb293b919d39c848dc038b2c28 (patch)
treef4ce208c643a9da77c61ee1cb2169fa0511779cc /fs/nfsd/filecache.c
parentnfsd: don't take/put an extra reference when putting a file (diff)
downloadlinux-972cc0e0924598cb293b919d39c848dc038b2c28.tar.xz
linux-972cc0e0924598cb293b919d39c848dc038b2c28.zip
nfsd: update comment over __nfsd_file_cache_purge
Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to '')
-rw-r--r--fs/nfsd/filecache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/filecache.c b/fs/nfsd/filecache.c
index 51e2947c21a7..9b7082fdd211 100644
--- a/fs/nfsd/filecache.c
+++ b/fs/nfsd/filecache.c
@@ -907,7 +907,8 @@ out_err:
* @net: net-namespace to shut down the cache (may be NULL)
*
* Walk the nfsd_file cache and close out any that match @net. If @net is NULL,
- * then close out everything. Called when an nfsd instance is being shut down.
+ * then close out everything. Called when an nfsd instance is being shut down,
+ * and when the exports table is flushed.
*/
static void
__nfsd_file_cache_purge(struct net *net)