From: Jeremy Allison Date: Fri, 12 Mar 2021 22:33:14 +0000 (-0800) Subject: lib: adouble: Use FREMOVEXATTR in preference to REMOVEXATTR. X-Git-Tag: tevent-0.11.0~1282 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d978b940e751143d7e47aadbc58e2e53aa0ca20;p=thirdparty%2Fsamba.git lib: adouble: Use FREMOVEXATTR in preference to REMOVEXATTR. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- 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;