Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 572
b: refs/heads/master
c: e4eb295
h: refs/heads/master
v: v3
  • Loading branch information
Steve French authored and Linus Torvalds committed Apr 29, 2005
1 parent fb10a84 commit 5e4ef62
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 105 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: 46810cbf3d951c1ce8ce3311639996ad43ca4ed1
refs/heads/master: e4eb295d38b57f4d4b956942a48887eb252d97c6
2 changes: 1 addition & 1 deletion trunk/fs/cifs/cifspdu.h
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ struct smb_hdr {
};
/* given a pointer to an smb_hdr retrieve the value of byte count */
#define BCC(smb_var) ( *(__u16 *)((char *)smb_var + sizeof(struct smb_hdr) + (2* smb_var->WordCount) ) )

#define BCC_LE(smb_var) ( *(__le16 *)((char *)smb_var + sizeof(struct smb_hdr) + (2* smb_var->WordCount) ) )
/* given a pointer to an smb_hdr retrieve the pointer to the byte area */
#define pByteArea(smb_var) ((unsigned char *)smb_var + sizeof(struct smb_hdr) + (2* smb_var->WordCount) + 2 )

Expand Down
Loading

0 comments on commit 5e4ef62

Please sign in to comment.