]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: Rewrite rename_internals_fsp()
authorVolker Lendecke <vl@samba.org>
Wed, 24 Sep 2025 12:49:21 +0000 (14:49 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 21 Oct 2025 17:33:29 +0000 (17:33 +0000)
commitbb130f32c9fdbb02a4e99d23953d090c3e992d0a
treec6df5d139c8d46a013cbb34c075bb65f2693fc45
parentf0a4e879daa3a8002905fb5d161372d3b27cd42f
smbd: Rewrite rename_internals_fsp()

With SMB_VFS_RENAME_STREAM and the src parent fsp and src relname
available, we can save a lot of string handling in
rename_internals_fsp(). Subsequent patches will remove a lot of code
that's no longer used after this patch.

Better look at the result than the patch for review.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/smb2_reply.c