1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

smbd: Avoid some casts

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2021-11-24 12:28:34 +01:00 committed by Jeremy Allison
parent 9a2f5a52e8
commit d60f583245

View File

@ -5539,20 +5539,26 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
struct smb_filename *parent_dir_fname = NULL; struct smb_filename *parent_dir_fname = NULL;
struct smb_filename *smb_fname_atname = NULL; struct smb_filename *smb_fname_atname = NULL;
DBG_DEBUG("create_file_unixpath: access_mask = 0x%x " DBG_DEBUG("access_mask = 0x%"PRIx32" "
"file_attributes = 0x%x, share_access = 0x%x, " "file_attributes = 0x%"PRIx32" "
"create_disposition = 0x%x create_options = 0x%x " "share_access = 0x%"PRIx32" "
"oplock_request = 0x%x private_flags = 0x%x " "create_disposition = 0x%"PRIx32" "
"ea_list = %p, sd = %p, " "create_options = 0x%"PRIx32" "
"oplock_request = 0x%"PRIx32" "
"private_flags = 0x%"PRIx32" "
"ea_list = %p, "
"sd = %p, "
"fname = %s\n", "fname = %s\n",
(unsigned int)access_mask, access_mask,
(unsigned int)file_attributes, file_attributes,
(unsigned int)share_access, share_access,
(unsigned int)create_disposition, create_disposition,
(unsigned int)create_options, create_options,
(unsigned int)oplock_request, oplock_request,
(unsigned int)private_flags, private_flags,
ea_list, sd, smb_fname_str_dbg(smb_fname)); ea_list,
sd,
smb_fname_str_dbg(smb_fname));
if (create_options & FILE_OPEN_BY_FILE_ID) { if (create_options & FILE_OPEN_BY_FILE_ID) {
status = NT_STATUS_NOT_SUPPORTED; status = NT_STATUS_NOT_SUPPORTED;