提交 e3b2ffe0 编写于 作者: D David Howells

afs: Close the rxrpc socket only after purging the servers

Close the rxrpc socket only after we've purged the server records (and also
cell and volume records which might refer to servers) so that we can give
up the callbacks on each server.
Signed-off-by: NDavid Howells <dhowells@redhat.com>
上级 f044c884
......@@ -96,10 +96,10 @@ static int __net_init afs_net_init(struct afs_net *net)
static void __net_exit afs_net_exit(struct afs_net *net)
{
net->live = false;
afs_close_socket(net);
afs_purge_servers(net);
afs_vlocation_purge(net);
afs_cell_purge(net);
afs_close_socket(net);
afs_proc_cleanup(net);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册