From: Ralph Boehme Date: Mon, 25 Aug 2025 16:47:43 +0000 (+0200) Subject: smbd: pass replay_operation and persistent_requested to smb2srv_open_lookup_replay_ca... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=47bba240c3138f744dcb567cf1c2227783a62339;p=thirdparty%2Fsamba.git smbd: pass replay_operation and persistent_requested to smb2srv_open_lookup_replay_cache() Not yet used, that comes next. Signed-off-by: Ralph Boehme Reviewed-by: Anoop C S --- diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index a11c30fadbb..a975659d5ec 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -1477,6 +1477,8 @@ static void smbd_smb2_cc_before_exec_dhc2q(struct tevent_req *req) smb2req->session, *state->create_guid, state->fname, + false, + false, now, &state->persistent_id, &state->op); diff --git a/source3/smbd/smbXsrv_open.c b/source3/smbd/smbXsrv_open.c index 2567ce385da..98c715a00c8 100644 --- a/source3/smbd/smbXsrv_open.c +++ b/source3/smbd/smbXsrv_open.c @@ -1145,6 +1145,8 @@ NTSTATUS smb2srv_open_lookup_replay_cache(struct smbXsrv_connection *conn, struct smbXsrv_session *session, struct GUID create_guid, const char *name, + bool replay_operation, + bool persistent_requested, NTTIME now, uint64_t *persistent_id, struct smbXsrv_open **_open) diff --git a/source3/smbd/smbXsrv_open.h b/source3/smbd/smbXsrv_open.h index 88122888784..60b17f0dd21 100644 --- a/source3/smbd/smbXsrv_open.h +++ b/source3/smbd/smbXsrv_open.h @@ -67,6 +67,8 @@ NTSTATUS smb2srv_open_lookup_replay_cache(struct smbXsrv_connection *conn, struct smbXsrv_session *session, struct GUID create_guid, const char *name, + bool replay_operation, + bool persistent_requested, NTTIME now, uint64_t *persistent_id, struct smbXsrv_open **_open);