summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/afs/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/main.c b/fs/afs/main.c
index 87b1a9c8000d..6bd2f3a426de 100644
--- a/fs/afs/main.c
+++ b/fs/afs/main.c
@@ -96,10 +96,10 @@ error_proc:
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);
}