summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-12-15 10:12:42 +0100
committerVolker Lendecke <vlendec@samba.org>2011-12-16 09:10:06 +0100
commit7000bb69332f12d35c41cb08792d29c08736937b (patch)
tree90273cca672ed400c7da48f4f18a7ad7c5a20136
parent2349c027c1125114363343b71624bf8aa96711b8 (diff)
downloadsamba-7000bb69332f12d35c41cb08792d29c08736937b.tar.gz
samba-7000bb69332f12d35c41cb08792d29c08736937b.tar.bz2
samba-7000bb69332f12d35c41cb08792d29c08736937b.zip
s3: Add some const to find_oplock_types
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 16 09:10:07 CET 2011 on sn-devel-104
-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,