mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
smbd: realign args to fd_open_atomic() in open_file()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
5c67a3e8ce
commit
134114aa16
@ -1290,8 +1290,11 @@ static NTSTATUS open_file(files_struct *fsp,
|
||||
* Actually do the open - if O_TRUNC is needed handle it
|
||||
* below under the share mode lock.
|
||||
*/
|
||||
status = fd_open_atomic(conn, fsp, local_flags & ~O_TRUNC,
|
||||
unx_mode, p_file_created);
|
||||
status = fd_open_atomic(conn,
|
||||
fsp,
|
||||
local_flags & ~O_TRUNC,
|
||||
unx_mode,
|
||||
p_file_created);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(3,("Error opening file %s (%s) (local_flags=%d) "
|
||||
"(flags=%d)\n", smb_fname_str_dbg(smb_fname),
|
||||
|
Loading…
Reference in New Issue
Block a user