summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common/opendb.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-22 16:30:13 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-26 09:29:40 +0100
commitf94008e45a15666439766488edf84b21a86111ee (patch)
treef95cddfb058eef6840989e22195e43565772028b /source4/ntvfs/common/opendb.h
parent3526d1d48c86881c3fb8e54ae614d81deb242374 (diff)
downloadsamba-f94008e45a15666439766488edf84b21a86111ee.tar.gz
samba-f94008e45a15666439766488edf84b21a86111ee.tar.bz2
samba-f94008e45a15666439766488edf84b21a86111ee.zip
opendb: add odb_break_oplocks() function
This send breaks to none to all level2 holders metze (This used to be commit bd3654500b14e4ed8d4a8bb25ff9da5035a16a8b)
Diffstat (limited to 'source4/ntvfs/common/opendb.h')
-rw-r--r--source4/ntvfs/common/opendb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/ntvfs/common/opendb.h b/source4/ntvfs/common/opendb.h
index c34a07d6fa..c46390446c 100644
--- a/source4/ntvfs/common/opendb.h
+++ b/source4/ntvfs/common/opendb.h
@@ -43,6 +43,7 @@ struct opendb_ops {
uint32_t access_mask);
NTSTATUS (*odb_update_oplock)(struct odb_lock *lck, void *file_handle,
uint32_t oplock_level);
+ NTSTATUS (*odb_break_oplocks)(struct odb_lock *lck);
};
struct opendb_oplock_break {