aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/cifs/cifsfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 8f7451f3c8e6..4162ee45d043 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -701,6 +701,8 @@ cifs_do_mount(struct file_system_type *fs_type,
701 701
702 if (sb->s_fs_info) { 702 if (sb->s_fs_info) {
703 cFYI(1, "Use existing superblock"); 703 cFYI(1, "Use existing superblock");
704 unload_nls(cifs_sb->local_nls);
705 kfree(cifs_sb);
704 goto out_shared; 706 goto out_shared;
705 } 707 }
706 708