mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
smbd: Pass dirfsp to create_file_unixpath()
Will be used soon. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
eb3c47ac33
commit
c1a3104a2a
@ -5585,6 +5585,7 @@ static NTSTATUS lease_match(connection_struct *conn,
|
||||
|
||||
static NTSTATUS create_file_unixpath(connection_struct *conn,
|
||||
struct smb_request *req,
|
||||
struct files_struct *dirfsp,
|
||||
struct smb_filename *smb_fname,
|
||||
uint32_t access_mask,
|
||||
uint32_t share_access,
|
||||
@ -5809,6 +5810,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
|
||||
/* Open the base file. */
|
||||
status = create_file_unixpath(conn,
|
||||
NULL,
|
||||
dirfsp,
|
||||
smb_fname_base,
|
||||
0,
|
||||
FILE_SHARE_READ
|
||||
@ -6289,6 +6291,7 @@ NTSTATUS create_file_default(connection_struct *conn,
|
||||
|
||||
status = create_file_unixpath(conn,
|
||||
req,
|
||||
dirfsp,
|
||||
smb_fname,
|
||||
access_mask,
|
||||
share_access,
|
||||
|
Loading…
x
Reference in New Issue
Block a user