Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27021
b: refs/heads/master
c: cec6815
h: refs/heads/master
i:
  27019: 66c9957
v: v3
  • Loading branch information
Steve French committed May 30, 2006
1 parent aebaa62 commit 1dd25f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a424f8bfcbecb8353b88a351394e8d1960136219
refs/heads/master: cec6815a12edc91b123394f29d672cb9fa6cf79f
4 changes: 2 additions & 2 deletions trunk/fs/cifs/cifssmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1409,10 +1409,10 @@ CIFSSMBPosixLock(const int xid, struct cifsTconInfo *tcon,

parm_data->lock_type = cpu_to_le16(lock_type);
if(waitFlag)
parm_data->lock_flags = 1;
parm_data->lock_flags = cpu_to_le16(1);
parm_data->pid = cpu_to_le32(current->tgid);
parm_data->start = cpu_to_le64(pLockData->fl_start);
parm_data->length = len; /* normalize negative numbers */
parm_data->length = cpu_to_le64(len); /* normalize negative numbers */

pSMB->DataOffset = cpu_to_le16(offset);
pSMB->Fid = smb_file_id;
Expand Down

0 comments on commit 1dd25f1

Please sign in to comment.