openat_pathref_fsp() only needs const
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
* Create an smb_fname and open smb_fname->fsp pathref
**/
NTSTATUS synthetic_pathref(TALLOC_CTX *mem_ctx,
- struct files_struct *dirfsp,
+ const struct files_struct *dirfsp,
const char *base_name,
const char *stream_name,
const SMB_STRUCT_STAT *psbuf,
const struct smb_filename *smb_fname_src);
NTSTATUS synthetic_pathref(TALLOC_CTX *mem_ctx,
- struct files_struct *dirfsp,
+ const struct files_struct *dirfsp,
const char *base_name,
const char *stream_name,
const SMB_STRUCT_STAT *psbuf,