projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12b3b8f
)
[CIFS] fix compile error (typo) and warning in cifssmb.c
author
Steve French
<sfrench@us.ibm.com>
Fri, 10 Feb 2006 05:52:50 +0000
(
05:52
+0000)
committer
Steve French
<sfrench@us.ibm.com>
Fri, 10 Feb 2006 05:52:50 +0000
(
05:52
+0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifssmb.c
patch
|
blob
|
history
diff --git
a/fs/cifs/cifssmb.c
b/fs/cifs/cifssmb.c
index d69b835c12eceb2f6de068e7b0347bee30b3efcf..fcf98cfd4158bd9353ac8e3248cd649c1bc49e1c 100644
(file)
--- 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 */