]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: realign args in calls to open_directory()
authorRalph Boehme <slow@samba.org>
Thu, 7 May 2020 14:50:20 +0000 (16:50 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 21 May 2020 05:23:31 +0000 (05:23 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c

index 3ff21526b3bb39739c2d98584fda774145a9df36..d3a18cea3a0925dce341e6813a17018d1a377744 100644 (file)
@@ -5631,10 +5631,16 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
                 */
 
                oplock_request = 0;
-               status = open_directory(
-                       conn, req, smb_fname, access_mask, share_access,
-                       create_disposition, create_options, file_attributes,
-                       &info, &fsp);
+               status = open_directory(conn,
+                                       req,
+                                       smb_fname,
+                                       access_mask,
+                                       share_access,
+                                       create_disposition,
+                                       create_options,
+                                       file_attributes,
+                                       &info,
+                                       &fsp);
        } else {
 
                /*
@@ -5703,11 +5709,16 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,
                        }
 
                        oplock_request = 0;
-                       status = open_directory(
-                               conn, req, smb_fname, access_mask,
-                               share_access, create_disposition,
-                               create_options, file_attributes,
-                               &info, &fsp);
+                       status = open_directory(conn,
+                                               req,
+                                               smb_fname,
+                                               access_mask,
+                                               share_access,
+                                               create_disposition,
+                                               create_options,
+                                               file_attributes,
+                                               &info,
+                                               &fsp);
                }
        }