summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/nttrans.c8
-rw-r--r--source3/smbd/open.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index fb85a67d0a..01ac1abeb0 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -498,8 +498,8 @@ void reply_ntcreate_and_X(connection_struct *conn, struct smb_request *req)
}
status = create_file(conn, req, root_dir_fid, fname, flags,
- access_mask, file_attributes, share_access,
- create_disposition, create_options,
+ access_mask, share_access, create_disposition,
+ create_options, file_attributes,
allocation_size, NULL, NULL,
&fsp, &info, &oplock_granted, &sbuf);
@@ -942,8 +942,8 @@ static void call_nt_transact_create(connection_struct *conn,
}
status = create_file(conn, req, root_dir_fid, fname, flags,
- access_mask, file_attributes, share_access,
- create_disposition, create_options,
+ access_mask, share_access, create_disposition,
+ create_options, file_attributes,
allocation_size, sd, ea_list,
&fsp, &info, &oplock_granted, &sbuf);
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index f4c3791b43..f555aeccb3 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2450,10 +2450,10 @@ NTSTATUS create_file(connection_struct *conn,
const char *fname,
uint32_t flags,
uint32_t access_mask,
- uint32_t file_attributes,
uint32_t share_access,
uint32_t create_disposition,
uint32_t create_options,
+ uint32_t file_attributes,
SMB_BIG_UINT allocation_size,
struct security_descriptor *sd,
struct ea_list *ea_list,