From 4767ccad2824cc5b211425f6889c217f0b761a43 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Tue, 26 Jul 2011 12:20:18 -0400 Subject: [PATCH] --- yaml --- r: 261994 b: refs/heads/master c: 1f1cff0be05f59d5939edf28ff5ca0c6fd0a8e1c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/cifs/connect.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/[refs] b/[refs] index a5b1a1275e5b..6859728bd962 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c4d3396b261473ded6f370edd1e79ba34e089d7e +refs/heads/master: 1f1cff0be05f59d5939edf28ff5ca0c6fd0a8e1c diff --git a/trunk/fs/cifs/connect.c b/trunk/fs/cifs/connect.c index e66297bad412..50b3523912ff 100644 --- a/trunk/fs/cifs/connect.c +++ b/trunk/fs/cifs/connect.c @@ -3193,15 +3193,9 @@ cifs_mount(struct cifs_sb_info *cifs_sb, struct smb_vol *volume_info) else cifs_put_tcp_session(srvTcp); bdi_destroy(&cifs_sb->bdi); - goto out; } - /* volume_info->password is freed above when existing session found - (in which case it is not needed anymore) but when new sesion is created - the password ptr is put in the new session structure (in which case the - password will be freed at unmount time) */ out: - /* zero out password before freeing */ FreeXid(xid); return rc; }