projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
[cascardo/linux.git]
/
fs
/
cifs
/
smb2pdu.h
diff --git
a/fs/cifs/smb2pdu.h
b/fs/cifs/smb2pdu.h
index
f31043b
..
36b0d37
100644
(file)
--- a/
fs/cifs/smb2pdu.h
+++ b/
fs/cifs/smb2pdu.h
@@
-428,7
+428,7
@@
struct smb2_create_req {
__le16 NameLength;
__le32 CreateContextsOffset;
__le32 CreateContextsLength;
__le16 NameLength;
__le32 CreateContextsOffset;
__le32 CreateContextsLength;
- __u8 Buffer[
8
];
+ __u8 Buffer[
0
];
} __packed;
struct smb2_create_rsp {
} __packed;
struct smb2_create_rsp {
@@
-485,6
+485,18
@@
struct create_lease {
struct lease_context lcontext;
} __packed;
struct lease_context lcontext;
} __packed;
+struct create_durable {
+ struct create_context ccontext;
+ __u8 Name[8];
+ union {
+ __u8 Reserved[16];
+ struct {
+ __u64 PersistentFileId;
+ __u64 VolatileFileId;
+ } Fid;
+ } Data;
+} __packed;
+
/* this goes in the ioctl buffer when doing a copychunk request */
struct copychunk_ioctl {
char SourceKey[24];
/* this goes in the ioctl buffer when doing a copychunk request */
struct copychunk_ioctl {
char SourceKey[24];