aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-03-21 06:27:55 -0400
committerSteve French <sfrench@us.ibm.com>2012-03-21 12:55:48 -0400
commit3dd933061d3a4f33fb6ba1616e88fa55a8b8cb9c (patch)
tree3bd8ecc805ed40af32ba71f6b59baece59337ba7 /fs/cifs/cifsfs.c
parent815465c4d724e851932843227b4b700d64216cf2 (diff)
cifs: clean up ordering in exit_cifs
...ensure that we undo things in the reverse order from the way they were done. In truth, the ordering doesn't matter for a lot of these, but it's still better to do it that way to be sure. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 260025fd8c3b..cc098ccac611 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -1175,8 +1175,7 @@ static void __exit
1175exit_cifs(void) 1175exit_cifs(void)
1176{ 1176{
1177 cFYI(DBG2, "exit_cifs"); 1177 cFYI(DBG2, "exit_cifs");
1178 cifs_proc_clean(); 1178 unregister_filesystem(&cifs_fs_type);
1179 cifs_fscache_unregister();
1180 cifs_dfs_release_automount_timer(); 1179 cifs_dfs_release_automount_timer();
1181#ifdef CONFIG_CIFS_ACL 1180#ifdef CONFIG_CIFS_ACL
1182 cifs_destroy_idmaptrees(); 1181 cifs_destroy_idmaptrees();
@@ -1185,10 +1184,11 @@ exit_cifs(void)
1185#ifdef CONFIG_CIFS_UPCALL 1184#ifdef CONFIG_CIFS_UPCALL
1186 unregister_key_type(&cifs_spnego_key_type); 1185 unregister_key_type(&cifs_spnego_key_type);
1187#endif 1186#endif
1188 unregister_filesystem(&cifs_fs_type);
1189 cifs_destroy_inodecache();
1190 cifs_destroy_mids();
1191 cifs_destroy_request_bufs(); 1187 cifs_destroy_request_bufs();
1188 cifs_destroy_mids();
1189 cifs_destroy_inodecache();
1190 cifs_fscache_unregister();
1191 cifs_proc_clean();
1192} 1192}
1193 1193
1194MODULE_AUTHOR("Steve French <sfrench@us.ibm.com>"); 1194MODULE_AUTHOR("Steve French <sfrench@us.ibm.com>");