summaryrefslogtreecommitdiffstats
path: root/fs/cifs/ntlmssp.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-02-26 16:41:18 +0000
committerSteve French <sfrench@us.ibm.com>2006-02-26 16:41:18 +0000
commit4b8f930ff83aaed39fd5f935aeacc25f2549a51e (patch)
tree364547184a71367a12bb5eee44569d305c8efdd6 /fs/cifs/ntlmssp.c
parent184ed2110ae6bfdb8dc91085149f04f2f4d2169e (diff)
downloadop-kernel-dev-4b8f930ff83aaed39fd5f935aeacc25f2549a51e.zip
op-kernel-dev-4b8f930ff83aaed39fd5f935aeacc25f2549a51e.tar.gz
[CIFS] Free small buffers earlier so we exceed the cifs
small req buffer pool less often. Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/ntlmssp.c')
-rw-r--r--fs/cifs/ntlmssp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/ntlmssp.c b/fs/cifs/ntlmssp.c
index 4aabe2d..78866f9 100644
--- a/fs/cifs/ntlmssp.c
+++ b/fs/cifs/ntlmssp.c
@@ -122,8 +122,7 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, const int type,
/* rc = SendReceive2(xid, ses, iov, num_iovecs, &resp_buf_type, 0); */
-
- cifs_small_buf_release(smb_buffer);
+ /* SMB request buf freed in SendReceive2 */
return rc;
}
OpenPOWER on IntegriCloud