summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common/opendb.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-21 16:12:27 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-25 11:51:17 +0100
commit71943b209b181e1e4a65ab477b83780add7051ae (patch)
treec4b3b43ece167545c81bb287156500e6a6eb1200 /source4/ntvfs/common/opendb.c
parent6cb9c1c61d8087457420a56f5296662417a25bd4 (diff)
downloadsamba-71943b209b181e1e4a65ab477b83780add7051ae.tar.gz
samba-71943b209b181e1e4a65ab477b83780add7051ae.tar.bz2
samba-71943b209b181e1e4a65ab477b83780add7051ae.zip
opendb: add odb_update_oplock() call
metze (This used to be commit df576d69c6981a4879a0e9447069fcfacb3588db)
Diffstat (limited to 'source4/ntvfs/common/opendb.c')
-rw-r--r--source4/ntvfs/common/opendb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/ntvfs/common/opendb.c b/source4/ntvfs/common/opendb.c
index f12f23817d..4ac10806e1 100644
--- a/source4/ntvfs/common/opendb.c
+++ b/source4/ntvfs/common/opendb.c
@@ -170,3 +170,9 @@ _PUBLIC_ NTSTATUS odb_can_open(struct odb_lock *lck,
{
return ops->odb_can_open(lck, share_access, create_options, access_mask);
}
+
+_PUBLIC_ NTSTATUS odb_update_oplock(struct odb_lock *lck, void *file_handle,
+ uint32_t oplock_level)
+{
+ return ops->odb_update_oplock(lck, file_handle, oplock_level);
+}