diff options
-rw-r--r-- | fs/cifs/connect.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index e66297bad412..50b3523912ff 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -3193,15 +3193,9 @@ mount_fail_check: | |||
3193 | else | 3193 | else |
3194 | cifs_put_tcp_session(srvTcp); | 3194 | cifs_put_tcp_session(srvTcp); |
3195 | bdi_destroy(&cifs_sb->bdi); | 3195 | bdi_destroy(&cifs_sb->bdi); |
3196 | goto out; | ||
3197 | } | 3196 | } |
3198 | 3197 | ||
3199 | /* volume_info->password is freed above when existing session found | ||
3200 | (in which case it is not needed anymore) but when new sesion is created | ||
3201 | the password ptr is put in the new session structure (in which case the | ||
3202 | password will be freed at unmount time) */ | ||
3203 | out: | 3198 | out: |
3204 | /* zero out password before freeing */ | ||
3205 | FreeXid(xid); | 3199 | FreeXid(xid); |
3206 | return rc; | 3200 | return rc; |
3207 | } | 3201 | } |