diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-02-22 16:30:13 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-02-26 09:29:40 +0100 |
commit | f94008e45a15666439766488edf84b21a86111ee (patch) | |
tree | f95cddfb058eef6840989e22195e43565772028b /source4/ntvfs/common/opendb.c | |
parent | 3526d1d48c86881c3fb8e54ae614d81deb242374 (diff) | |
download | samba-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.c')
-rw-r--r-- | source4/ntvfs/common/opendb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/ntvfs/common/opendb.c b/source4/ntvfs/common/opendb.c index 4ac10806e1..3f5d7210be 100644 --- a/source4/ntvfs/common/opendb.c +++ b/source4/ntvfs/common/opendb.c @@ -176,3 +176,8 @@ _PUBLIC_ NTSTATUS odb_update_oplock(struct odb_lock *lck, void *file_handle, { return ops->odb_update_oplock(lck, file_handle, oplock_level); } + +_PUBLIC_ NTSTATUS odb_break_oplocks(struct odb_lock *lck) +{ + return ops->odb_break_oplocks(lck); +} |