diff options
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index bca6a69aaf2..ff57ad4efe8 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -470,9 +470,7 @@ static void cifs_umount_begin(struct vfsmount *vfsmnt, int flags) | |||
470 | struct cifs_sb_info *cifs_sb; | 470 | struct cifs_sb_info *cifs_sb; |
471 | struct cifsTconInfo *tcon; | 471 | struct cifsTconInfo *tcon; |
472 | 472 | ||
473 | #ifdef CONFIG_CIFS_DFS_UPCALL | ||
474 | dfs_shrink_umount_helper(vfsmnt); | 473 | dfs_shrink_umount_helper(vfsmnt); |
475 | #endif /* CONFIG CIFS_DFS_UPCALL */ | ||
476 | 474 | ||
477 | if (!(flags & MNT_FORCE)) | 475 | if (!(flags & MNT_FORCE)) |
478 | return; | 476 | return; |
@@ -991,9 +989,7 @@ static int __init | |||
991 | init_cifs(void) | 989 | init_cifs(void) |
992 | { | 990 | { |
993 | int rc = 0; | 991 | int rc = 0; |
994 | #ifdef CONFIG_PROC_FS | ||
995 | cifs_proc_init(); | 992 | cifs_proc_init(); |
996 | #endif | ||
997 | /* INIT_LIST_HEAD(&GlobalServerList);*/ /* BB not implemented yet */ | 993 | /* INIT_LIST_HEAD(&GlobalServerList);*/ /* BB not implemented yet */ |
998 | INIT_LIST_HEAD(&GlobalSMBSessionList); | 994 | INIT_LIST_HEAD(&GlobalSMBSessionList); |
999 | INIT_LIST_HEAD(&GlobalTreeConnectionList); | 995 | INIT_LIST_HEAD(&GlobalTreeConnectionList); |
@@ -1094,19 +1090,15 @@ init_cifs(void) | |||
1094 | out_destroy_inodecache: | 1090 | out_destroy_inodecache: |
1095 | cifs_destroy_inodecache(); | 1091 | cifs_destroy_inodecache(); |
1096 | out_clean_proc: | 1092 | out_clean_proc: |
1097 | #ifdef CONFIG_PROC_FS | ||
1098 | cifs_proc_clean(); | 1093 | cifs_proc_clean(); |
1099 | #endif | ||
1100 | return rc; | 1094 | return rc; |
1101 | } | 1095 | } |
1102 | 1096 | ||
1103 | static void __exit | 1097 | static void __exit |
1104 | exit_cifs(void) | 1098 | exit_cifs(void) |
1105 | { | 1099 | { |
1106 | cFYI(0, ("exit_cifs")); | 1100 | cFYI(DBG2, ("exit_cifs")); |
1107 | #ifdef CONFIG_PROC_FS | ||
1108 | cifs_proc_clean(); | 1101 | cifs_proc_clean(); |
1109 | #endif | ||
1110 | #ifdef CONFIG_CIFS_DFS_UPCALL | 1102 | #ifdef CONFIG_CIFS_DFS_UPCALL |
1111 | unregister_key_type(&key_type_dns_resolver); | 1103 | unregister_key_type(&key_type_dns_resolver); |
1112 | #endif | 1104 | #endif |