diff options
author | Steve French <sfrench@us.ibm.com> | 2006-02-10 05:52:50 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-02-10 05:52:50 +0000 |
commit | 04fdabe17c4840a4cd84c3589f20f5d4689b1ec5 (patch) | |
tree | 24178449c1d5a7eaee4b692125336168151f14f6 /fs | |
parent | 12b3b8ffb5fd591df41f658d6068b76f7a58e710 (diff) | |
download | kernel_samsung_espresso10-04fdabe17c4840a4cd84c3589f20f5d4689b1ec5.zip kernel_samsung_espresso10-04fdabe17c4840a4cd84c3589f20f5d4689b1ec5.tar.gz kernel_samsung_espresso10-04fdabe17c4840a4cd84c3589f20f5d4689b1ec5.tar.bz2 |
[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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index d69b835..fcf98cf 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, if(rc) return rc; + buffer = (struct smb_hdr *)*request_buf; buffer->Mid = GetNextMid(ses->server); if (ses->capabilities & CAP_UNICODE) buffer->Flags2 |= SMBFLG2_UNICODE; - if (ses->capabilities & CAP_STATUS32) { + if (ses->capabilities & CAP_STATUS32) buffer->Flags2 |= SMBFLG2_ERR_STATUS; /* uid, tid can stay at zero as set in header assemble */ |