aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorIgor Mammedov <niallain@gmail.com>2008-04-24 04:56:07 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-04-25 09:15:26 -0400
commit78d31a3a87f84cf56004b7bc154831f2ee1186e8 (patch)
tree0b18911e95f08dc2bce01c1555fe65f1865b0c71 /fs/cifs/cifsfs.c
parentb69d3987f4360a5e7e9e55465b3cdd0cc204b79e (diff)
cifs: timeout dfs automounts +little fix.
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index a04b17e5a9d0..dbb2cd678bf5 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -471,8 +471,6 @@ static void cifs_umount_begin(struct vfsmount *vfsmnt, int flags)
471 struct cifs_sb_info *cifs_sb; 471 struct cifs_sb_info *cifs_sb;
472 struct cifsTconInfo *tcon; 472 struct cifsTconInfo *tcon;
473 473
474 dfs_shrink_umount_helper(vfsmnt);
475
476 if (!(flags & MNT_FORCE)) 474 if (!(flags & MNT_FORCE))
477 return; 475 return;
478 cifs_sb = CIFS_SB(vfsmnt->mnt_sb); 476 cifs_sb = CIFS_SB(vfsmnt->mnt_sb);
@@ -1100,6 +1098,7 @@ exit_cifs(void)
1100 cFYI(DBG2, ("exit_cifs")); 1098 cFYI(DBG2, ("exit_cifs"));
1101 cifs_proc_clean(); 1099 cifs_proc_clean();
1102#ifdef CONFIG_CIFS_DFS_UPCALL 1100#ifdef CONFIG_CIFS_DFS_UPCALL
1101 cifs_dfs_release_automount_timer();
1103 unregister_key_type(&key_type_dns_resolver); 1102 unregister_key_type(&key_type_dns_resolver);
1104#endif 1103#endif
1105#ifdef CONFIG_CIFS_UPCALL 1104#ifdef CONFIG_CIFS_UPCALL