1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

s3/libadouble: remove dirfsp arg from ad_convert_delete_adfile()

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>
This commit is contained in:
Ralph Boehme 2021-01-22 17:06:26 +01:00 committed by Jeremy Allison
parent d2acd9629e
commit 00ec67eb0c

View File

@ -1371,7 +1371,6 @@ static bool ad_convert_blank_rfork(vfs_handle_struct *handle,
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)
{
@ -1392,7 +1391,7 @@ static bool ad_convert_delete_adfile(vfs_handle_struct *handle,
}
rc = SMB_VFS_NEXT_UNLINKAT(handle,
dirfsp,
handle->conn->cwd_fsp,
ad_name,
0);
if (rc != 0) {
@ -1467,7 +1466,6 @@ int ad_convert(struct vfs_handle_struct *handle,
ok = ad_convert_delete_adfile(handle,
ad,
handle->conn->cwd_fsp,
smb_fname,
flags);
if (!ok) {