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

s3/smbd: call dos_mode_post with fsp

Next commit can remove smb_name param from dos_mode_post
signature.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Noel Power 2021-06-10 09:45:02 +01:00 committed by Noel Power
parent 72ace149f9
commit 34a6ed2136

View File

@ -890,9 +890,9 @@ static void dos_mode_at_vfs_get_dosmode_done(struct tevent_req *subreq)
}
if (NT_STATUS_IS_OK(status)) {
state->dosmode = dos_mode_post(state->dosmode,
state->dir_fsp->conn,
state->smb_fname->fsp->conn,
state->smb_fname->fsp,
NULL,
state->smb_fname,
__func__);
tevent_req_done(req);
return;