diff options
author | Ralph Boehme <slow@samba.org> | 2020-10-19 20:59:09 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2020-12-16 09:08:32 +0000 |
commit | 05b31b47b1b68f3237143b37520d128fda3e2688 (patch) | |
tree | 93f4c04bf9e15017ba1de9c50e2f4c6ad982cfc6 /source3/smbd/smb2_create.c | |
parent | 608085af10d96547d22ff6b997a5dfdb94d4a830 (diff) | |
download | samba-05b31b47b1b68f3237143b37520d128fda3e2688.tar.gz |
smbd: use fdos_mode() in smbd_smb2_create_after_exec()
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r-- | source3/smbd/smb2_create.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index dbbf00dd905..9e8d9853266 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -1317,8 +1317,7 @@ static void smbd_smb2_create_after_exec(struct tevent_req *req) DEBUG(10, ("smbd_smb2_create_send: " "response construction phase\n")); - state->out_file_attributes = dos_mode(state->result->conn, - state->result->fsp_name); + state->out_file_attributes = fdos_mode(state->result); if (state->mxac != NULL) { NTTIME last_write_time; |