vfs_aixacl: fix regression from f4c2f867f035fcbe3d547d5635d058b0aec7636a
authorRalph Boehme <slow@samba.org>
Tue, 26 Jan 2021 09:55:42 +0000 (10:55 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 26 Jan 2021 20:05:39 +0000 (20:05 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14620

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Jan 26 20:05:39 UTC 2021 on sn-devel-184

source3/modules/vfs_aixacl.c

index f7493794a458a1413b1d25ea864c408e905b9133..d266f446008b050313274742843131adfd1b5b20 100644 (file)
@@ -149,9 +149,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);