summaryrefslogtreecommitdiffstats
path: root/source4/cluster
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-06 15:47:27 +0100
committerStefan Metzmacher <metze@samba.org>2008-03-06 17:19:12 +0100
commitb7db5f7cb57eca4bf28fd8238e5f958a6038158e (patch)
treee41bd43cb93e463b49c6e4d6cd1a180bec896d7a /source4/cluster
parent0339ae5ad82c248b43afa9431b13cda536b18fd6 (diff)
downloadsamba-b7db5f7cb57eca4bf28fd8238e5f958a6038158e.tar.gz
samba-b7db5f7cb57eca4bf28fd8238e5f958a6038158e.tar.xz
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/cluster')
-rw-r--r--source4/cluster/ctdb/opendb_ctdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/cluster/ctdb/opendb_ctdb.c b/source4/cluster/ctdb/opendb_ctdb.c
index e84f2364d4..fe48f98760 100644
--- a/source4/cluster/ctdb/opendb_ctdb.c
+++ b/source4/cluster/ctdb/opendb_ctdb.c
@@ -284,6 +284,7 @@ static NTSTATUS odb_ctdb_open_file(struct odb_lock *lck,
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)
{