diff options
author | Igor Mammedov <niallain@gmail.com> | 2008-01-25 03:28:31 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-01-25 03:28:31 +0000 |
commit | 6d5ae0deb1641bf615eafd8fef64218e10cb2fd0 (patch) | |
tree | 5b0d74ad31ce50534563bb1b7e6e06c4d3fdb4f9 /fs/cifs/cifsfs.c | |
parent | ed2b91701d97047fa9970645e43d5e551e261adb (diff) | |
download | blackbird-op-linux-6d5ae0deb1641bf615eafd8fef64218e10cb2fd0.tar.gz blackbird-op-linux-6d5ae0deb1641bf615eafd8fef64218e10cb2fd0.zip |
[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.c | 4 |
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) struct cifs_sb_info *cifs_sb; struct cifsTconInfo *tcon; +#ifdef CONFIG_CIFS_DFS_UPCALL + dfs_shrink_umount_helper(vfsmnt); +#endif /* CONFIG CIFS_DFS_UPCALL */ + if (!(flags & MNT_FORCE)) return; cifs_sb = CIFS_SB(vfsmnt->mnt_sb); |