mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[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 <sfrench@us.ibm.com>
This commit is contained in:
parent
65874007c3
commit
407f61a2b4
2 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue