1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

vfs_fruit: use SMB_VFS_FREMOVEXATTR() in fruit_unlink_meta_netatalk()

Use the pathref fsp from the caller.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2021-01-21 10:27:22 +01:00 committed by Jeremy Allison
parent 8e155cbe4a
commit cb90a8dc79

View File

@ -1900,8 +1900,9 @@ static int fruit_unlink_meta_stream(vfs_handle_struct *handle,
static int fruit_unlink_meta_netatalk(vfs_handle_struct *handle,
const struct smb_filename *smb_fname)
{
return SMB_VFS_REMOVEXATTR(handle->conn,
smb_fname,
SMB_ASSERT(smb_fname->fsp != NULL);
SMB_ASSERT(smb_fname->fsp->base_fsp != NULL);
return SMB_VFS_FREMOVEXATTR(smb_fname->fsp->base_fsp,
AFPINFO_EA_NETATALK);
}