diff options
author | Ralph Boehme <slow@samba.org> | 2022-04-08 11:44:28 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-12-09 23:11:37 +0000 |
commit | d1dd3f3d73fd283e4817ddc76d3687ed2e9933d0 (patch) | |
tree | 4c3496cdd03fd2a22ef3d10533d387618fb6e8f2 /source3/smbd/proto.h | |
parent | 67042d95bb39fe4b479fa952eec0ae1c1c82ebd6 (diff) | |
download | samba-d1dd3f3d73fd283e4817ddc76d3687ed2e9933d0.tar.gz |
smbd: factor out reference_smb_fname_fsp_link() from parent_pathref()
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 9335ae476f7..cbf2cfc1d85 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -465,6 +465,9 @@ 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, struct files_struct *dirfsp, const char *base_name, |