summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 10606788b4..8b7b47b7eb 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1084,7 +1084,7 @@ static NTSTATUS send_break_message(files_struct *fsp,
static void find_oplock_types(files_struct *fsp,
int oplock_request,
- struct share_mode_lock *lck,
+ const struct share_mode_lock *lck,
struct share_mode_entry **pp_batch,
struct share_mode_entry **pp_ex_or_batch,
bool *got_level2,