From: Noel Power Date: Thu, 10 Jun 2021 08:45:02 +0000 (+0100) Subject: s3/smbd: call dos_mode_post with fsp X-Git-Tag: tevent-0.11.0~390 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34a6ed2136c08d2465c72e68121501a46fd7d1e6;p=thirdparty%2Fsamba.git 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 Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index 84ee8994a98..8686b154756 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -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;