mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
3d8237a870
If the fsp is a non FSA fsp created by openat_pathref_fsp(), we can't pass it to rename_internals_fsp(). We have to go via rename_internals() which internally uses SMB_VFS_CREATE_FILE() to open an fsp which ensure we go through the lease checking code. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>