Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33679
b: refs/heads/master
c: 5ddaa68
h: refs/heads/master
i:
  33677: a65cb76
  33675: 7abbdca
  33671: 5953f4e
  33663: 4057f30
v: v3
  • Loading branch information
Steve French committed Aug 15, 2006
1 parent 62b677d commit 19e4849
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e466e4876bf39474e15d0572f2204578137ae7f5
refs/heads/master: 5ddaa683a513439081c9511b0d9ad490672c51c9
2 changes: 1 addition & 1 deletion trunk/fs/cifs/cifssmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
/* BB get server time for time conversions and add
code to use it and timezone since this is not UTC */

if (rsp->EncryptionKeyLength == CIFS_CRYPTO_KEY_SIZE) {
if (rsp->EncryptionKeyLength == cpu_to_le16(CIFS_CRYPTO_KEY_SIZE)) {
memcpy(server->cryptKey, rsp->EncryptionKey,
CIFS_CRYPTO_KEY_SIZE);
} else if (server->secMode & SECMODE_PW_ENCRYPT) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/cifs/readdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ static int cifs_entry_is_dot(char *current_entry, struct cifsFileInfo *cfile)
FIND_FILE_STANDARD_INFO * pFindData =
(FIND_FILE_STANDARD_INFO *)current_entry;
filename = &pFindData->FileName[0];
len = le32_to_cpu(pFindData->FileNameLength);
len = pFindData->FileNameLength;
} else {
cFYI(1,("Unknown findfirst level %d",cfile->srch_inf.info_level));
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/cifs/sess.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, int first_time,

/* no capabilities flags in old lanman negotiation */

pSMB->old_req.PasswordLength = CIFS_SESS_KEY_SIZE;
pSMB->old_req.PasswordLength = cpu_to_le16(CIFS_SESS_KEY_SIZE);
/* BB calculate hash with password */
/* and copy into bcc */

Expand Down

0 comments on commit 19e4849

Please sign in to comment.