Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
return -1;
}
- ret = SMB_VFS_NEXT_UNLINK(handle, smb_fname_stream);
+ ret = SMB_VFS_NEXT_UNLINKAT(handle,
+ dirfsp,
+ smb_fname_stream,
+ 0);
TALLOC_FREE(smb_fname_stream);
return ret;
TALLOC_FREE(dirname);
}
- ret = SMB_VFS_NEXT_UNLINK(handle, smb_fname);
+ ret = SMB_VFS_NEXT_UNLINKAT(handle,
+ dirfsp,
+ smb_fname,
+ flags);
TALLOC_FREE(smb_fname_base);
return ret;
}