]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Make reference_smb_fname_fsp_link() static master
authorVolker Lendecke <vl@samba.org>
Fri, 19 Dec 2025 13:27:41 +0000 (14:27 +0100)
committerAnoop C S <anoopcs@samba.org>
Mon, 3 Aug 2026 10:08:42 +0000 (10:08 +0000)
Only referenced in files.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Mon Aug  3 10:08:42 UTC 2026 on atb-devel-224

source3/smbd/files.c
source3/smbd/proto.h

index d626ac5f32e6a843b1df74e11eddbf2439cd9b5c..03e99c14c3f7618ceff9eea964c101140d89a84b 100644 (file)
@@ -1793,8 +1793,9 @@ static int fsp_ref_no_close_destructor(struct smb_filename *smb_fname)
        return 0;
 }
 
-NTSTATUS reference_smb_fname_fsp_link(struct smb_filename *smb_fname_dst,
-                                     const struct smb_filename *smb_fname_src)
+static NTSTATUS reference_smb_fname_fsp_link(
+       struct smb_filename *smb_fname_dst,
+       const struct smb_filename *smb_fname_src)
 {
        bool ok;
 
index 3bb309e463b1daafbce8263f77c4a7a1ef64c161..7ced3a3ffd5dedcf1a6b47d5622a20aab5ffcad7 100644 (file)
@@ -414,9 +414,6 @@ void smb_fname_fsp_unlink(struct smb_filename *smb_fname);
 NTSTATUS move_smb_fname_fsp_link(struct smb_filename *smb_fname_dst,
                                 struct smb_filename *smb_fname_src);
 
-NTSTATUS reference_smb_fname_fsp_link(struct smb_filename *smb_fname_dst,
-                                     const struct smb_filename *smb_fname_src);
-
 NTSTATUS synthetic_pathref(TALLOC_CTX *mem_ctx,
                           const struct files_struct *dirfsp,
                           const char *base_name,