s3: Add some const to find_oplock_types
authorVolker Lendecke <vl@samba.org>
Thu, 15 Dec 2011 09:12:42 +0000 (10:12 +0100)
committerVolker Lendecke <vlendec@samba.org>
Fri, 16 Dec 2011 08:10:06 +0000 (09:10 +0100)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Dec 16 09:10:07 CET 2011 on sn-devel-104

source3/smbd/open.c

index 10606788b40abb73e5a0bbae3e55d00f1762bdfa..8b7b47b7ebc46d9fa251bbdd1babdb50f41c031b 100644 (file)
@@ -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,