]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: destroy rpc_inode_cachep after unregister_filesystem
authorDan Aloni <dan@kernelim.com>
Fri, 26 Jun 2020 07:23:16 +0000 (10:23 +0300)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 17 Jul 2020 17:12:44 +0000 (13:12 -0400)
commit45e7e0d839e661c062bc057b158529d983b9c819
tree4d84cef5d8976094e8ee036c112a82ee4f9383e0
parent8bb1a5a458980b78b585a258782b14b424ed81a6
sunrpc: destroy rpc_inode_cachep after unregister_filesystem

Better to unregister the file system before destroying the kmem_cache
cache of the inodes, so that the inodes are freed before we are trying
to destroy it. Otherwise, kmem_cache yells that some objects are live.

Signed-off-by: Dan Aloni <dan@kernelim.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/rpc_pipe.c