smbd: realign args to fd_open_atomic() in open_file()
authorRalph Boehme <slow@samba.org>
Thu, 7 May 2020 18:52:18 +0000 (20:52 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 21 May 2020 05:23:32 +0000 (05:23 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c

index ceefe6c557d45d33b9cefa61e5fd4e1433d44649..3f53005cf3e1729d86f2d6b018e789564cf9d6c0 100644 (file)
@@ -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),