From 4d978b940e751143d7e47aadbc58e2e53aa0ca20 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 12 Mar 2021 14:33:14 -0800 Subject: [PATCH] lib: adouble: Use FREMOVEXATTR in preference to REMOVEXATTR. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/lib/adouble.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/lib/adouble.c b/source3/lib/adouble.c index 39895aff3f8..8a34d6ba074 100644 --- a/source3/lib/adouble.c +++ b/source3/lib/adouble.c @@ -2099,8 +2099,7 @@ exit: ealen = -1; if (errno == EINVAL) { become_root(); - (void)SMB_VFS_REMOVEXATTR(handle->conn, - smb_fname, + (void)SMB_VFS_FREMOVEXATTR(smb_fname->fsp, AFPINFO_EA_NETATALK); unbecome_root(); errno = ENOENT; -- 2.47.3