diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-03-06 15:47:27 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-03-06 17:19:12 +0100 |
commit | b7db5f7cb57eca4bf28fd8238e5f958a6038158e (patch) | |
tree | e41bd43cb93e463b49c6e4d6cd1a180bec896d7a /source4/ntvfs/common/opendb.h | |
parent | 0339ae5ad82c248b43afa9431b13cda536b18fd6 (diff) | |
download | samba-b7db5f7cb57eca4bf28fd8238e5f958a6038158e.tar.gz samba-b7db5f7cb57eca4bf28fd8238e5f958a6038158e.tar.bz2 samba-b7db5f7cb57eca4bf28fd8238e5f958a6038158e.zip |
opendb: add allow_level_II_oplock parameter to odb_open_file()
Not all clients support a fallback to level II oplocks.
metze
(This used to be commit 146f1fe0b67ca0805f0e71358abc57da0c0579a9)
Diffstat (limited to 'source4/ntvfs/common/opendb.h')
-rw-r--r-- | source4/ntvfs/common/opendb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/ntvfs/common/opendb.h b/source4/ntvfs/common/opendb.h index 69a7f718ba..1c7f815dea 100644 --- a/source4/ntvfs/common/opendb.h +++ b/source4/ntvfs/common/opendb.h @@ -30,6 +30,7 @@ struct opendb_ops { uint32_t stream_id, uint32_t share_access, uint32_t access_mask, bool delete_on_close, uint32_t open_disposition, bool break_to_none, + bool allow_level_II_oplock, uint32_t oplock_level, uint32_t *oplock_granted); NTSTATUS (*odb_open_file_pending)(struct odb_lock *lck, void *private); NTSTATUS (*odb_close_file)(struct odb_lock *lck, void *file_handle, |