diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index b4bacea54626..f6a3091c2874 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -3025,9 +3025,9 @@ cifs_umount(struct super_block *sb, struct cifs_sb_info *cifs_sb) | |||
3025 | { | 3025 | { |
3026 | int rc = 0; | 3026 | int rc = 0; |
3027 | char *tmp; | 3027 | char *tmp; |
3028 | struct cifsTconInfo *tcon = cifs_sb_master_tcon(cifs_sb); | ||
3028 | 3029 | ||
3029 | if (cifs_sb_tcon(cifs_sb)) | 3030 | cifs_put_tcon(tcon); |
3030 | cifs_put_tcon(cifs_sb_tcon(cifs_sb)); | ||
3031 | 3031 | ||
3032 | cifs_sb->ptcon = NULL; | 3032 | cifs_sb->ptcon = NULL; |
3033 | tmp = cifs_sb->prepath; | 3033 | tmp = cifs_sb->prepath; |