summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-07-01 15:35:19 +0200
committerJeremy Allison <jra@samba.org>2019-07-02 17:01:28 +0000
commit45d2720a878a07be1d219164f7245d3d89726829 (patch)
tree141e3feb7ead0e4ccceda7a7bca5ef6a9a7e396d /source3/locking
parent0658626776c19c903d894e32a036e8d8eccad425 (diff)
downloadsamba-45d2720a878a07be1d219164f7245d3d89726829.tar.gz
smbd: Remove unused "msg_ctx" from locking_close_file()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c3
-rw-r--r--source3/locking/proto.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index a31c6f7d3af..6c69b0055dc 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -358,8 +358,7 @@ NTSTATUS do_unlock(files_struct *fsp,
Remove any locks on this fd. Called from file_close().
****************************************************************************/
-void locking_close_file(struct messaging_context *msg_ctx,
- files_struct *fsp,
+void locking_close_file(files_struct *fsp,
enum file_close_type close_type)
{
struct byte_range_lock *br_lck;
diff --git a/source3/locking/proto.h b/source3/locking/proto.h
index 473cf56a5ed..15826a9d4af 100644
--- a/source3/locking/proto.h
+++ b/source3/locking/proto.h
@@ -109,8 +109,7 @@ NTSTATUS do_unlock(files_struct *fsp,
uint64_t count,
uint64_t offset,
enum brl_flavour lock_flav);
-void locking_close_file(struct messaging_context *msg_ctx,
- files_struct *fsp,
+void locking_close_file(files_struct *fsp,
enum file_close_type close_type);
bool locking_init(void);
bool locking_init_readonly(void);