mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
cifs: Change from mempool_destroy to mempool_exit for request pools
insmod followed by rmmod was oopsing with the new mempools cifs request patch
Fixes: edea94a697
("cifs: Add mempools for cifs_io_request and cifs_io_subrequest structs")
Suggested-by: David Howells <dhowells@redhat.com>
Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
9f9bef9bc5
commit
29b4c7bb85
@ -1790,9 +1790,9 @@ nomem_req:
|
||||
|
||||
static void cifs_destroy_netfs(void)
|
||||
{
|
||||
mempool_destroy(&cifs_io_subrequest_pool);
|
||||
mempool_exit(&cifs_io_subrequest_pool);
|
||||
kmem_cache_destroy(cifs_io_subrequest_cachep);
|
||||
mempool_destroy(&cifs_io_request_pool);
|
||||
mempool_exit(&cifs_io_request_pool);
|
||||
kmem_cache_destroy(cifs_io_request_cachep);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user