]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_vxfs: add support for SMB_ACL_TYPE_DEFAULT in vxfs_sys_acl_set_fd()
authorRalph Boehme <slow@samba.org>
Mon, 14 Dec 2020 07:10:44 +0000 (08:10 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 17 Dec 2020 18:56:28 +0000 (18:56 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_vxfs.c

index 7bdcd3484a07f5900803de3bac45c5f68bffae50..28f379b19e1a0e65a0bc76c825bfe8e816284826 100644 (file)
@@ -492,7 +492,7 @@ static int vxfs_sys_acl_set_fd(vfs_handle_struct *handle,
 {
 
        if (vxfs_compare(fsp->conn, fsp->fsp_name, theacl,
-                        SMB_ACL_TYPE_ACCESS)) {
+                        type)) {
                return 0;
        }