mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
smbd: Make "lease" const in SMB_VFS_CREATE_FILE()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
c2a779f50e
commit
2c20954af5
@ -203,7 +203,7 @@ static NTSTATUS skel_create_file(struct vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
@ -198,7 +198,7 @@ static NTSTATUS skel_create_file(struct vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
@ -271,6 +271,7 @@
|
||||
/* Version 41 - Remove "msg_ctx" parameter from SMB_VFS_BRL_UNLOCK_WINDOWS */
|
||||
/* Bump to version 42, Samba 4.12 will ship with that */
|
||||
/* Version 42 - Remove share_access member from struct files_struct */
|
||||
/* Version 42 - Make "lease" a const* in create_file_fn */
|
||||
|
||||
#define SMB_VFS_INTERFACE_VERSION 42
|
||||
|
||||
@ -714,7 +715,7 @@ struct vfs_fn_pointers {
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
@ -1211,7 +1212,7 @@ NTSTATUS smb_vfs_call_create_file(struct vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
@ -1649,7 +1650,7 @@ NTSTATUS vfs_not_implemented_create_file(struct vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
@ -569,7 +569,7 @@ static NTSTATUS vfswrap_create_file(vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
@ -3939,7 +3939,7 @@ static NTSTATUS fruit_create_file(vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
@ -1059,7 +1059,7 @@ static NTSTATUS smb_full_audit_create_file(vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
@ -1198,7 +1198,7 @@ static NTSTATUS mh_create_file(vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
@ -201,7 +201,7 @@ NTSTATUS vfs_not_implemented_create_file(struct vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
@ -598,7 +598,7 @@ static NTSTATUS smb_time_audit_create_file(vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
@ -907,7 +907,7 @@ static NTSTATUS um_create_file(vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
@ -32,7 +32,7 @@ static NTSTATUS vfs_worm_create_file(vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
@ -1613,7 +1613,7 @@ NTSTATUS smb_vfs_call_create_file(struct vfs_handle_struct *handle,
|
||||
uint32_t create_options,
|
||||
uint32_t file_attributes,
|
||||
uint32_t oplock_request,
|
||||
struct smb2_lease *lease,
|
||||
const struct smb2_lease *lease,
|
||||
uint64_t allocation_size,
|
||||
uint32_t private_flags,
|
||||
struct security_descriptor *sd,
|
||||
|
Loading…
x
Reference in New Issue
Block a user