aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorIgor Mammedov <niallain@gmail.com>2008-01-24 22:28:31 -0500
committerSteve French <sfrench@us.ibm.com>2008-01-24 22:28:31 -0500
commit6d5ae0deb1641bf615eafd8fef64218e10cb2fd0 (patch)
tree5b0d74ad31ce50534563bb1b7e6e06c4d3fdb4f9 /fs/cifs/cifsfs.c
parented2b91701d97047fa9970645e43d5e551e261adb (diff)
[CIFS] DFS support: provide shrinkable mounts
Signed-off-by: Igor Mammedov <niallain@gmail.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 93e107883a61..e9f4ec701092 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -471,6 +471,10 @@ 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#ifdef CONFIG_CIFS_DFS_UPCALL
475 dfs_shrink_umount_helper(vfsmnt);
476#endif /* CONFIG CIFS_DFS_UPCALL */
477
474 if (!(flags & MNT_FORCE)) 478 if (!(flags & MNT_FORCE))
475 return; 479 return;
476 cifs_sb = CIFS_SB(vfsmnt->mnt_sb); 480 cifs_sb = CIFS_SB(vfsmnt->mnt_sb);