summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French <smfrench@austin.rr.com>2005-04-29 07:41:07 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-29 07:41:07 +0200
commit099a58f681ed951434574ec39bdfe87055bafe73 (patch)
tree5015a6eb19cc62766fba00c3183e21e5ad50ae9b /fs/cifs/connect.c
parent[PATCH] cifs: Do not use large smb buffers in response path (diff)
downloadlinux-099a58f681ed951434574ec39bdfe87055bafe73.tar.xz
linux-099a58f681ed951434574ec39bdfe87055bafe73.zip
[PATCH] cifs: Missing initialization for largeBuf flag left out of previous changeset
Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 390f22fa3439..c999583d11b0 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -396,6 +396,10 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
smb_buffer;
mid_entry->midState =
MID_RESPONSE_RECEIVED;
+ if(isLargeBuf)
+ mid_entry->largeBuf = 1;
+ else
+ mid_entry->largeBuf = 0;
}
}
spin_unlock(&GlobalMid_Lock);