]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
nfsd: update comment over __nfsd_file_cache_purge
authorJeff Layton <jlayton@kernel.org>
Thu, 26 Jan 2023 17:21:16 +0000 (12:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:19:27 +0000 (16:19 +0200)
[ Upstream commit 972cc0e0924598cb293b919d39c848dc038b2c28 ]

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

index 786e06cf107ffd17891d5f661498ec1071bf5cb0..1d4c0387c4192fe28df582ff4216f50f1ecb0f7e 100644 (file)
@@ -906,7 +906,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)