]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Make "lease" const in grant_fsp_oplock_type()
authorVolker Lendecke <vl@samba.org>
Wed, 7 Aug 2019 19:29:14 +0000 (21:29 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 9 Aug 2019 22:48:46 +0000 (22:48 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c

index 5f6b038c447b38450b92475614d52dba7e9335fe..c10c252e2f82e6dfff15d9fa26a214eec0d9989a 100644 (file)
@@ -2220,7 +2220,7 @@ static NTSTATUS grant_fsp_oplock_type(struct smb_request *req,
                                      struct files_struct *fsp,
                                      struct share_mode_lock *lck,
                                      int oplock_request,
-                                     struct smb2_lease *lease,
+                                     const struct smb2_lease *lease,
                                      uint32_t share_access,
                                      uint32_t access_mask)
 {