diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/oplock.c | 2 | ||||
-rw-r--r-- | source3/smbd/proto.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index d30aa4b3d9..36a4b5ba1d 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -93,7 +93,7 @@ NTSTATUS set_file_oplock(files_struct *fsp, int oplock_type) Attempt to release an oplock on a file. Decrements oplock count. ****************************************************************************/ -void release_file_oplock(files_struct *fsp) +static void release_file_oplock(files_struct *fsp) { struct smbd_server_connection *sconn = fsp->conn->sconn; struct kernel_oplocks *koplocks = sconn->oplocks.kernel_ops; diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 54d6da0b4c..bead710065 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -660,7 +660,6 @@ NTSTATUS get_relative_fid_filename(connection_struct *conn, void break_kernel_oplock(struct messaging_context *msg_ctx, files_struct *fsp); NTSTATUS set_file_oplock(files_struct *fsp, int oplock_type); -void release_file_oplock(files_struct *fsp); bool remove_oplock(files_struct *fsp); bool downgrade_oplock(files_struct *fsp); void contend_level2_oplocks_begin(files_struct *fsp, |