diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2013-07-04 18:41:09 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-07-10 13:08:39 -0500 |
commit | 63eb3def3267a5744863801e8221898b0ba9d41d (patch) | |
tree | 7ebc846f2e66303d0b7228ae9cedf498d9bc1999 /fs/cifs/smb2pdu.h | |
parent | d22cbfecbd9047465d9067a6eedc43434c888593 (diff) | |
download | blackbird-op-linux-63eb3def3267a5744863801e8221898b0ba9d41d.tar.gz blackbird-op-linux-63eb3def3267a5744863801e8221898b0ba9d41d.zip |
CIFS: Request durable open for SMB2 opens
by passing durable context together with a handle caching lease or
batch oplock.
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h index 8b1025f6f0da..3e30f0ad5749 100644 --- a/fs/cifs/smb2pdu.h +++ b/fs/cifs/smb2pdu.h @@ -485,6 +485,12 @@ struct create_lease { struct lease_context lcontext; } __packed; +struct create_durable { + struct create_context ccontext; + __u8 Name[8]; + __u8 Reserved[16]; +} __packed; + /* this goes in the ioctl buffer when doing a copychunk request */ struct copychunk_ioctl { char SourceKey[24]; |