summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2pdu.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2013-07-04 19:41:24 +0400
committerSteve French <smfrench@gmail.com>2013-07-10 22:08:39 +0400
commit59aa371841ddb3a1a434497c6590542a785fa37c (patch)
tree204bdacd79f3a1685c5b61710cac597fd03555d5 /fs/cifs/smb2pdu.h
parentca81983fe5e095ee90c0f7b6013e7c446af17088 (diff)
downloadlinux-59aa371841ddb3a1a434497c6590542a785fa37c.tar.xz
CIFS: Simplify SMB2_open code path
by passing a filename to a separate iovec regardless of its length. Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steven French <steven@steven-GA-970A-DS3.(none)>
Diffstat (limited to 'fs/cifs/smb2pdu.h')
-rw-r--r--fs/cifs/smb2pdu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h
index f31043b26bd3..8b1025f6f0da 100644
--- a/fs/cifs/smb2pdu.h
+++ b/fs/cifs/smb2pdu.h
@@ -428,7 +428,7 @@ struct smb2_create_req {
__le16 NameLength;
__le32 CreateContextsOffset;
__le32 CreateContextsLength;
- __u8 Buffer[8];
+ __u8 Buffer[0];
} __packed;
struct smb2_create_rsp {