diff --git a/fs/afs/main.c b/fs/afs/main.c index 87b1a9c8000d9644bc060fd4c6abbe8eb8287d3d..6bd2f3a426de3b80d3c76e9f82d56fb561e11a45 100644 --- a/fs/afs/main.c +++ b/fs/afs/main.c @@ -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); }