summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/oplock.c9
-rw-r--r--source3/smbd/proto.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index e3f00a70ec..b4e8c9be5a 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -26,15 +26,6 @@
#include "messages.h"
#include "../librpc/gen_ndr/open_files.h"
-/****************************************************************************
- Get the number of current exclusive oplocks.
-****************************************************************************/
-
-int32 get_number_of_exclusive_open_oplocks(void)
-{
- return exclusive_oplocks_open;
-}
-
/*
* helper function used by the kernel oplock backends to post the break message
*/
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 311072a8c0..eb98bc86c5 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -662,7 +662,6 @@ NTSTATUS get_relative_fid_filename(connection_struct *conn,
/* The following definitions come from smbd/oplock.c */
-int32 get_number_of_exclusive_open_oplocks(void);
void break_kernel_oplock(struct messaging_context *msg_ctx, files_struct *fsp);
bool set_file_oplock(files_struct *fsp, int oplock_type);
void release_file_oplock(files_struct *fsp);