summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2021-02-16 19:25:59 +0000
committerJeremy Allison <jra@samba.org>2021-03-11 17:50:30 +0000
commit6b725386992a24ae70dfb26a32cbec469c759e50 (patch)
treec9d6e40a156c5bb57c548c7080882dc3c0aa6afc
parentecd83a5877e869df4007c28a0164d0f332d63539 (diff)
downloadsamba-6b725386992a24ae70dfb26a32cbec469c759e50.tar.gz
s3/lib: adouble SMB_VFS_SETXATTR => SMB_VFS_FSETXATTR
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/lib/adouble.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/adouble.c b/source3/lib/adouble.c
index 6fd290a31b8..4a109b70d51 100644
--- a/source3/lib/adouble.c
+++ b/source3/lib/adouble.c
@@ -2598,8 +2598,7 @@ int ad_set(vfs_handle_struct *handle,
return -1;
}
- ret = SMB_VFS_SETXATTR(handle->conn,
- smb_fname,
+ ret = SMB_VFS_FSETXATTR(smb_fname->fsp,
AFPINFO_EA_NETATALK,
ad->ad_data,
AD_DATASZ_XATTR, 0);