Message ID | 20230126172116.198443-1-jlayton@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | nfsd: update comment over __nfsd_file_cache_purge | expand |
> On Jan 26, 2023, at 12:21 PM, Jeff Layton <jlayton@kernel.org> wrote: > > Signed-off-by: Jeff Layton <jlayton@kernel.org> 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? > --- > fs/nfsd/filecache.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/fs/nfsd/filecache.c b/fs/nfsd/filecache.c > index 348ef543c4dc..e232937fea8e 100644 > --- a/fs/nfsd/filecache.c > +++ b/fs/nfsd/filecache.c > @@ -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) > -- > 2.39.1 > -- Chuck Lever
diff --git a/fs/nfsd/filecache.c b/fs/nfsd/filecache.c index 348ef543c4dc..e232937fea8e 100644 --- a/fs/nfsd/filecache.c +++ b/fs/nfsd/filecache.c @@ -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)
Signed-off-by: Jeff Layton <jlayton@kernel.org> --- fs/nfsd/filecache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)