diff options
| author | 2020-10-21 10:34:15 -0400 | |
|---|---|---|
| committer | 2020-11-12 10:40:02 -0500 | |
| commit | 70438afbf17e5194dd607dd17759560a363b7bb4 (patch) | |
| tree | 9297e9ccdae46bcb8c44489e83e212ed7c525ba9 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | nfsroot: Default mount option should ask for built-in NFS version (diff) | |
| download | linux-dev-70438afbf17e5194dd607dd17759560a363b7bb4.tar.xz linux-dev-70438afbf17e5194dd607dd17759560a363b7bb4.zip | |
NFSv4.2: fix failure to unregister shrinker
We forgot to unregister the nfs4_xattr_large_entry_shrinker.
That leaves the global list of shrinkers corrupted after unload of the
nfs module, after which possibly unrelated code that calls
register_shrinker() or unregister_shrinker() gets a BUG() with
"supervisor write access in kernel mode".
And similarly for the nfs4_xattr_large_entry_lru.
Reported-by: Kris Karas <bugs-a17@moonlit-rail.com>
Tested-By: Kris Karas <bugs-a17@moonlit-rail.com>
Fixes: 95ad37f90c33 "NFSv4.2: add client side xattr caching."
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
CC: stable@vger.kernel.org
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
