diff options
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifsfs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index c262d8874ce9..3fdc2258f447 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -402,12 +402,14 @@ static struct quotactl_ops cifs_quotactl_ops = { | |||
402 | #endif | 402 | #endif |
403 | 403 | ||
404 | #ifdef CONFIG_CIFS_EXPERIMENTAL | 404 | #ifdef CONFIG_CIFS_EXPERIMENTAL |
405 | static void cifs_umount_begin(struct super_block * sblock) | 405 | static void cifs_umount_begin(struct vfsmount * vfsmnt, int flags) |
406 | { | 406 | { |
407 | struct cifs_sb_info *cifs_sb; | 407 | struct cifs_sb_info *cifs_sb; |
408 | struct cifsTconInfo * tcon; | 408 | struct cifsTconInfo * tcon; |
409 | 409 | ||
410 | cifs_sb = CIFS_SB(sblock); | 410 | if (!(flags & MNT_FORCE)) |
411 | return; | ||
412 | cifs_sb = CIFS_SB(vfsmnt->mnt_sb); | ||
411 | if(cifs_sb == NULL) | 413 | if(cifs_sb == NULL) |
412 | return; | 414 | return; |
413 | 415 | ||