summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-08-16 12:47:10 +0000
committerMichael Adam <obnox@samba.org>2013-08-16 16:52:58 +0200
commit54d9ec751736cb19bd377e21853958eb89e8ef18 (patch)
treedca3fa46c6c30ddbc5f64201a1edf89172241e78 /source3
parent6c0758219a8d3dc0c6673f8c7b38386dbbc75559 (diff)
downloadsamba-54d9ec751736cb19bd377e21853958eb89e8ef18.tar.gz
samba-54d9ec751736cb19bd377e21853958eb89e8ef18.tar.bz2
samba-54d9ec751736cb19bd377e21853958eb89e8ef18.zip
smbd: Make break_level2_to_none_async static
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/oplock.c2
-rw-r--r--source3/smbd/proto.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 05b0d0b7a4..5d9e42c116 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -388,7 +388,7 @@ static void send_break_message_smb1(files_struct *fsp, int level)
TALLOC_FREE(break_msg);
}
-void break_level2_to_none_async(files_struct *fsp)
+static void break_level2_to_none_async(files_struct *fsp)
{
struct smbd_server_connection *sconn = fsp->conn->sconn;
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 9c766096ed..f572c355f4 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -664,7 +664,6 @@ void release_file_oplock(files_struct *fsp);
bool remove_oplock(files_struct *fsp);
bool downgrade_oplock(files_struct *fsp);
bool should_notify_deferred_opens(struct smbd_server_connection *sconn);
-void break_level2_to_none_async(files_struct *fsp);
void contend_level2_oplocks_begin(files_struct *fsp,
enum level2_contention_type type);
void contend_level2_oplocks_end(files_struct *fsp,