From ac2fb5353e4572878ce979faa1888121a240ec28 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Tue, 26 Jan 2021 10:55:42 +0100 Subject: [PATCH] vfs_aixacl: fix regression from f4c2f867f035fcbe3d547d5635d058b0aec7636a MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BUG: https://bugzilla.samba.org/show_bug.cgi?id=14620 Signed-off-by: Ralph Boehme Reviewed-by: Björn Jacke Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Tue Jan 26 20:05:39 UTC 2021 on sn-devel-184 (cherry picked from commit 7114150f43751ab869323b91da83705b1e1ab465) --- source3/modules/vfs_aixacl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/modules/vfs_aixacl.c b/source3/modules/vfs_aixacl.c index e6a085cae0f..e4c5f1ef7e2 100644 --- a/source3/modules/vfs_aixacl.c +++ b/source3/modules/vfs_aixacl.c @@ -170,9 +170,9 @@ int aixacl_sys_acl_set_fd(vfs_handle_struct *handle, /* * This is no longer a handle based call. */ - return = chacl(fsp->fsp_name->base_name, - file_acl, - file_acl->acl_len); + return chacl(fsp->fsp_name->base_name, + file_acl, + file_acl->acl_len); } rc = fchacl(fsp_get_io_fd(fsp),file_acl,file_acl->acl_len); -- 2.20.2