diff options
author | Steve French <sfrench@us.ibm.com> | 2006-02-10 00:52:50 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-02-10 00:52:50 -0500 |
commit | 04fdabe17c4840a4cd84c3589f20f5d4689b1ec5 (patch) | |
tree | 24178449c1d5a7eaee4b692125336168151f14f6 /fs/cifs | |
parent | 12b3b8ffb5fd591df41f658d6068b76f7a58e710 (diff) |
[CIFS] fix compile error (typo) and warning in cifssmb.c
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifssmb.c | 3 |
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 */ |