aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2015-11-03 09:26:27 -0600
committerSteve French <smfrench@gmail.com>2015-11-03 09:26:27 -0600
commitb56eae4df9ef922d5785ec4a15d54d9527cedb13 (patch)
tree04a31bc533656e79e36ea5d9eed8fed0d7b28b4b /fs/cifs/cifsglob.h
parent[SMB3] Display persistenthandles in /proc/mounts for SMB3 shares if enabled (diff)
downloadlinux-dev-b56eae4df9ef922d5785ec4a15d54d9527cedb13.tar.xz
linux-dev-b56eae4df9ef922d5785ec4a15d54d9527cedb13.zip
[SMB3] Send durable handle v2 contexts when use of persistent handles required
Version 2 of the patch. Thanks to Dan Carpenter and the smatch tool for finding a problem in the first version of this patch. CC: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <steve.french@primarydata.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 28bd477f6e57..81273fea898f 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -1018,6 +1018,7 @@ struct cifs_fid {
__u64 persistent_fid; /* persist file id for smb2 */
__u64 volatile_fid; /* volatile file id for smb2 */
__u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */
+ __u8 create_guid[16];
#endif
struct cifs_pending_open *pending_open;
unsigned int epoch;