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:
parent
d2acd9629e
commit
00ec67eb0c
@ -1371,7 +1371,6 @@ static bool ad_convert_blank_rfork(vfs_handle_struct *handle,
|
|||||||
|
|
||||||
static bool ad_convert_delete_adfile(vfs_handle_struct *handle,
|
static bool ad_convert_delete_adfile(vfs_handle_struct *handle,
|
||||||
struct adouble *ad,
|
struct adouble *ad,
|
||||||
struct files_struct *dirfsp,
|
|
||||||
const struct smb_filename *smb_fname,
|
const struct smb_filename *smb_fname,
|
||||||
uint32_t flags)
|
uint32_t flags)
|
||||||
{
|
{
|
||||||
@ -1392,7 +1391,7 @@ static bool ad_convert_delete_adfile(vfs_handle_struct *handle,
|
|||||||
}
|
}
|
||||||
|
|
||||||
rc = SMB_VFS_NEXT_UNLINKAT(handle,
|
rc = SMB_VFS_NEXT_UNLINKAT(handle,
|
||||||
dirfsp,
|
handle->conn->cwd_fsp,
|
||||||
ad_name,
|
ad_name,
|
||||||
0);
|
0);
|
||||||
if (rc != 0) {
|
if (rc != 0) {
|
||||||
@ -1467,7 +1466,6 @@ int ad_convert(struct vfs_handle_struct *handle,
|
|||||||
|
|
||||||
ok = ad_convert_delete_adfile(handle,
|
ok = ad_convert_delete_adfile(handle,
|
||||||
ad,
|
ad,
|
||||||
handle->conn->cwd_fsp,
|
|
||||||
smb_fname,
|
smb_fname,
|
||||||
flags);
|
flags);
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user