Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=407f61a2b482ab9a6d03549ab9513e4a823ae4a2 Commit: 407f61a2b482ab9a6d03549ab9513e4a823ae4a2 Parent: 65874007c36930317c7a56d814a6a3e2966daaa8 Author: Steve French <[EMAIL PROTECTED]> AuthorDate: Fri Sep 28 06:53:39 2007 +0000 Committer: Steve French <[EMAIL PROTECTED]> CommitDate: Fri Sep 28 06:53:39 2007 +0000
[CIFS] Fix memory leak in statfs to very old servers We were allocating request buffers twice in the statfs path when mounted to very old (Windows 9x) servers. Signed-off-by: Steve French <[EMAIL PROTECTED]> --- fs/cifs/CHANGES | 5 +++++ fs/cifs/cifssmb.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index 41e3b6a..ea359a0 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES @@ -1,3 +1,8 @@ +Version 1.51 +------------ +Fix memory leak in statfs when mounted to very old servers (e.g. +Windows 9x) + Version 1.50 ------------ Fix NTLMv2 signing. NFS server mounted over cifs works (if cifs mount is diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index cc05a26..a6ff324 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -4045,10 +4045,6 @@ oldQFSInfoRetry: (void **) &pSMBr); if (rc) return rc; - rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB, - (void **) &pSMBr); - if (rc) - return rc; params = 2; /* level */ pSMB->TotalDataCount = 0; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html