From: Volker Lendecke Date: Wed, 24 Jun 2026 15:25:42 +0000 (+0200) Subject: smbd: Pass "new_dirfsp" to unlink_internals X-Git-Tag: talloc-2.5.0~367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8cf35a9a5278c50c45c6a8809ffced925ee7d78;p=thirdparty%2Fsamba.git smbd: Pass "new_dirfsp" to unlink_internals There's no reason why we shouldn't. Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- diff --git a/source3/smbd/smb2_trans2.c b/source3/smbd/smb2_trans2.c index 5f5c23e2f8e..dfbc1b1b696 100644 --- a/source3/smbd/smb2_trans2.c +++ b/source3/smbd/smb2_trans2.c @@ -3748,7 +3748,7 @@ NTSTATUS hardlink_internals(TALLOC_CTX *ctx, status = unlink_internals(conn, req, FILE_ATTRIBUTE_NORMAL, - NULL, /* new_dirfsp */ + dirfsp_new, smb_fname_new); if (!NT_STATUS_IS_OK(status)) { goto out;