1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

smbd: use fdos_mode() in dos_mode_at_vfs_get_dosmode_done()

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 21:10:40 +02:00
parent 62d82326a4
commit e7a90fd7a1

View File

@ -949,7 +949,7 @@ static void dos_mode_at_vfs_get_dosmode_done(struct tevent_req *subreq)
return;
}
state->dosmode = dos_mode(state->dir_fsp->conn, smb_path);
state->dosmode = fdos_mode(state->smb_fname->fsp);
tevent_req_done(req);
return;
}