You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nfsd: don't free files unconditionally in __nfsd_file_cache_purge
nfsd_file_cache_purge is called when the server is shutting down, in
which case, tearing things down is generally fine, but it also gets
called when the exports cache is flushed.
Instead of walking the cache and freeing everything unconditionally,
handle it the same as when we have a notification of conflicting access.
Fixes: ac3a258 ("nfsd: rework refcounting in filecache")
Reported-by: Ruben Vestergaard <[email protected]>
Reported-by: Torkil Svensgaard <[email protected]>
Reported-by: Shachar Kagan <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Tested-by: Shachar Kagan <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
0 commit comments