mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
smbd: avoid using dirfsp arg in create_file_default()
This is not used anymore in the callees. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
a366b756a1
commit
b133b81d8d
@ -5902,9 +5902,6 @@ NTSTATUS create_file_default(connection_struct *conn,
|
||||
NTSTATUS status;
|
||||
bool stream_name = false;
|
||||
struct smb2_create_blob *posx = NULL;
|
||||
struct files_struct *dirfsp = *_dirfsp;
|
||||
|
||||
SMB_ASSERT(dirfsp == dirfsp->conn->cwd_fsp);
|
||||
|
||||
DBG_DEBUG("create_file: access_mask = 0x%x "
|
||||
"file_attributes = 0x%x, share_access = 0x%x, "
|
||||
@ -5912,7 +5909,6 @@ NTSTATUS create_file_default(connection_struct *conn,
|
||||
"oplock_request = 0x%x "
|
||||
"private_flags = 0x%x "
|
||||
"ea_list = %p, sd = %p, "
|
||||
"dirfsp = %s, "
|
||||
"fname = %s\n",
|
||||
(unsigned int)access_mask,
|
||||
(unsigned int)file_attributes,
|
||||
@ -5923,7 +5919,6 @@ NTSTATUS create_file_default(connection_struct *conn,
|
||||
(unsigned int)private_flags,
|
||||
ea_list,
|
||||
sd,
|
||||
fsp_str_dbg(dirfsp),
|
||||
smb_fname_str_dbg(smb_fname));
|
||||
|
||||
if (req != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user