-
由 Jeff Layton 提交于
Currently, we shut down the filecache before trying to clean up the stateids that depend on it. This leads to the kernel trying to free an nfsd_file twice, and a refcount overput on the nf_mark. Change the shutdown procedure to tear down all of the stateids prior to shutting down the filecache. Reported-and-tested-by: NWang Yugui <wangyugui@e16-tech.com> Signed-off-by: NJeff Layton <jlayton@kernel.org> Fixes: 5e113224 ("nfsd: nfsd_file cache entries should be per net namespace") Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
789e1e10