Going to open a dirfsp in the function itself in a later commit.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
static bool ad_convert_delete_adfile(vfs_handle_struct *handle,
struct adouble *ad,
- struct files_struct *dirfsp,
const struct smb_filename *smb_fname,
uint32_t flags)
{
}
rc = SMB_VFS_NEXT_UNLINKAT(handle,
- dirfsp,
+ handle->conn->cwd_fsp,
ad_name,
0);
if (rc != 0) {
ok = ad_convert_delete_adfile(handle,
ad,
- handle->conn->cwd_fsp,
smb_fname,
flags);
if (!ok) {