diff options
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifsfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 355e0efec0cf..5e6d35804d73 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -602,8 +602,7 @@ cifs_get_sb(struct file_system_type *fs_type, | |||
602 | 602 | ||
603 | rc = cifs_read_super(sb, data, dev_name, flags & MS_SILENT ? 1 : 0); | 603 | rc = cifs_read_super(sb, data, dev_name, flags & MS_SILENT ? 1 : 0); |
604 | if (rc) { | 604 | if (rc) { |
605 | up_write(&sb->s_umount); | 605 | deactivate_locked_super(sb); |
606 | deactivate_super(sb); | ||
607 | return rc; | 606 | return rc; |
608 | } | 607 | } |
609 | sb->s_flags |= MS_ACTIVE; | 608 | sb->s_flags |= MS_ACTIVE; |