1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

smbd: use fdos_mode() in smbd_dirptr_8_3_mode_fn()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2020-11-25 16:35:11 +01:00
parent 06906b1d1f
commit 180e0a7d92

View File

@ -1135,7 +1135,8 @@ static bool smbd_dirptr_8_3_mode_fn(TALLOC_CTX *ctx,
}
if (get_dosmode) {
*_mode = dos_mode(conn, smb_fname);
*_mode = fdos_mode(smb_fname->fsp);
smb_fname->st = smb_fname->fsp->fsp_name->st;
}
return true;
}