1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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>
This commit is contained in:
Ralph Boehme 2020-10-19 20:59:09 +02:00
parent 608085af10
commit 05b31b47b1

View File

@ -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;