Skip to contentSkip to conversation

nfsd: update comment over __nfsd_file_cache_purge

PATCH In review Jeff Layton 2 participants 2 messages Jan 26, 2023

Subsystems (2)
lore
Share & tools
lore

Jeff Layton

author maintainer
#0 lore raw

PATCH 1/1 nfsd: update comment over __nfsd_file_cache_purge

---
 fs/nfsd/filecache.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
fs/nfsd/filecache.c +2 -1
index 348ef543c4dc..e232937fea8e 100644
@@ -808,7 +808,8 @@ nfsd_file_cache_init(void)
  * @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)
Signature · 1 line
2.39.1
#1 lore raw
Quoted 5 lines · Jeff Layton

Applied and pushed to topic-filecache-cleanups. Thanks!

That branch now includes nfsd_file_cond_queue(). Can you check to see that I merged it appropriately?

Quoted 16 lines

---
fs/nfsd/filecache.c | 3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)
fs/nfsd/filecache.c +2 -1
index 348ef543c4dc..e232937fea8e 100644
@@ -808,7 +808,8 @@ nfsd_file_cache_init(void)
 * @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.
 */
Quoted 5 lines

static void
__nfsd_file_cache_purge(struct net *net)

Signature · 1 line
2.39.1

--
Chuck Lever