]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: nfsd_file cache entries should be per net namespace
authorTrond Myklebust <trondmy@gmail.com>
Mon, 2 Sep 2019 17:02:55 +0000 (13:02 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 10 Sep 2019 13:23:41 +0000 (09:23 -0400)
commitd81648540f8b33dcf25efda94ecdbc2a9ebcd5e7
treedd3f0e389afb149e37ab9a96306f4f8445398169
parent41a4cd7df9366fa9b89ae51e620cda9e1bdb1266
nfsd: nfsd_file cache entries should be per net namespace

Ensure that we can safely clear out the file cache entries when the
nfs server is shut down on a container. Otherwise, the file cache
may end up pinning the mounts.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/export.c
fs/nfsd/filecache.c
fs/nfsd/filecache.h
fs/nfsd/nfssvc.c