summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
authorSteve French <smfrench@austin.rr.com>2005-04-29 07:41:09 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-29 07:41:09 +0200
commite4eb295d38b57f4d4b956942a48887eb252d97c6 (patch)
treed32dddbd699516a02d197eb9df0bef775082ffcd /fs/cifs/cifspdu.h
parent[PATCH] cifs: Ease memory pressure, do not use large buffers in byte range lo... (diff)
downloadlinux-e4eb295d38b57f4d4b956942a48887eb252d97c6.tar.xz
linux-e4eb295d38b57f4d4b956942a48887eb252d97c6.zip
[PATCH] cifs: Handle multiple response transact2 part 1 of 2
Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r--fs/cifs/cifspdu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index e3e92615705e..aede6a813167 100644
--- a/fs/cifs/cifspdu.h
+++ b/fs/cifs/cifspdu.h
@@ -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 )