summaryrefslogtreecommitdiff
path: root/source3/include/vfs.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2016-05-12 21:03:57 +0200
committerJeremy Allison <jra@samba.org>2016-05-21 01:28:28 +0200
commitda9b7056fcd6f68795db3a28564fca8bd8eb8605 (patch)
tree1e8fad6d58587f1e1434a25181664ada8450897a /source3/include/vfs.h
parentbb93b24b18f02507f7a8714bb7a79b2a763aaa1a (diff)
downloadsamba-da9b7056fcd6f68795db3a28564fca8bd8eb8605.tar.gz
s3: VFS: Add bool use_ofd_locks member to struct files_struct.
Not yet used. We will set this if we translate a process-associated lock operation to a open file description lock operation. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r--source3/include/vfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index a849443f023..dca6cef8704 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -192,6 +192,7 @@
const struct smb_filename * */
/* Version 35 - Add uint32_t flags to struct smb_filename */
/* Version 35 - Add get/set/fget/fset dos attribute functions. */
+/* Version 35 - Add bool use_ofd_locks to struct files_struct */
#define SMB_VFS_INTERFACE_VERSION 35
@@ -287,6 +288,7 @@ typedef struct files_struct {
bool backup_intent; /* Handle was successfully opened with backup intent
and opener has privilege to do so. */
bool aapl_copyfile_supported;
+ bool use_ofd_locks; /* Are we using open file description locks ? */
struct smb_filename *fsp_name;
uint32_t name_hash; /* Jenkins hash of full pathname. */
uint64_t mid; /* Mid of the operation that created us. */