From 835c66ca7f8a23cb8fcdf5fe6da6cd794b45b1ff Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 1 Feb 2025 11:26:00 +0100 Subject: [PATCH] vfs: Slightly simplify ad_get_meta_fsp() Use cp_smb_filename_nostream() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/modules/vfs_fruit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index 74a89237cd6..09d171bef8a 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -229,12 +229,10 @@ static struct adouble *ad_get_meta_fsp(TALLOC_CTX *ctx, return NULL; } - smb_fname_cp = cp_smb_filename(ctx, - smb_fname); + smb_fname_cp = cp_smb_filename_nostream(ctx, smb_fname); if (smb_fname_cp == NULL) { return NULL; } - TALLOC_FREE(smb_fname_cp->stream_name); config->in_openat_pathref_fsp = true; status = openat_pathref_fsp(handle->conn->cwd_fsp, smb_fname_cp); -- 2.47.2