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 7520f4687158..8b4de6eaabd0 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -403,12 +403,14 @@ static struct quotactl_ops cifs_quotactl_ops = { | |||
403 | #endif | 403 | #endif |
404 | 404 | ||
405 | #ifdef CONFIG_CIFS_EXPERIMENTAL | 405 | #ifdef CONFIG_CIFS_EXPERIMENTAL |
406 | static void cifs_umount_begin(struct super_block * sblock) | 406 | static void cifs_umount_begin(struct vfsmount * vfsmnt, int flags) |
407 | { | 407 | { |
408 | struct cifs_sb_info *cifs_sb; | 408 | struct cifs_sb_info *cifs_sb; |
409 | struct cifsTconInfo * tcon; | 409 | struct cifsTconInfo * tcon; |
410 | 410 | ||
411 | cifs_sb = CIFS_SB(sblock); | 411 | if (!(flags & MNT_FORCE)) |
412 | return; | ||
413 | cifs_sb = CIFS_SB(vfsmnt->mnt_sb); | ||
412 | if(cifs_sb == NULL) | 414 | if(cifs_sb == NULL) |
413 | return; | 415 | return; |
414 | 416 | ||