aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-02-10 00:52:50 -0500
committerSteve French <sfrench@us.ibm.com>2006-02-10 00:52:50 -0500
commit04fdabe17c4840a4cd84c3589f20f5d4689b1ec5 (patch)
tree24178449c1d5a7eaee4b692125336168151f14f6 /fs
parent12b3b8ffb5fd591df41f658d6068b76f7a58e710 (diff)
[CIFS] fix compile error (typo) and warning in cifssmb.c
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifssmb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index d69b835c12ec..fcf98cfd4158 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -198,10 +198,11 @@ small_smb_init_no_tcon(int smb_command, int wct, struct cifsSesInfo *ses,
198 if(rc) 198 if(rc)
199 return rc; 199 return rc;
200 200
201 buffer = (struct smb_hdr *)*request_buf;
201 buffer->Mid = GetNextMid(ses->server); 202 buffer->Mid = GetNextMid(ses->server);
202 if (ses->capabilities & CAP_UNICODE) 203 if (ses->capabilities & CAP_UNICODE)
203 buffer->Flags2 |= SMBFLG2_UNICODE; 204 buffer->Flags2 |= SMBFLG2_UNICODE;
204 if (ses->capabilities & CAP_STATUS32) { 205 if (ses->capabilities & CAP_STATUS32)
205 buffer->Flags2 |= SMBFLG2_ERR_STATUS; 206 buffer->Flags2 |= SMBFLG2_ERR_STATUS;
206 207
207 /* uid, tid can stay at zero as set in header assemble */ 208 /* uid, tid can stay at zero as set in header assemble */