From: Ralph Boehme Date: Thu, 7 May 2020 18:52:18 +0000 (+0200) Subject: smbd: realign args to fd_open_atomic() in open_file() X-Git-Tag: ldb-2.2.0~414 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=134114aa16070b80891ce2b73b2858c499f7c2fe;p=thirdparty%2Fsamba.git smbd: realign args to fd_open_atomic() in open_file() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index ceefe6c557d..3f53005cf3e 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -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),