1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

vfs_gpfs: add support for SMB_ACL_TYPE_DEFAULT in gpfsacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2020-12-13 09:19:25 +01:00 committed by Jeremy Allison
parent a866027e41
commit ba07df5e0d

View File

@ -1356,8 +1356,11 @@ static int gpfsacl_sys_acl_set_fd(vfs_handle_struct *handle,
return SMB_VFS_NEXT_SYS_ACL_SET_FD(handle, fsp, type, theacl);
}
/*
* This is no longer a handle based call.
*/
return gpfsacl_sys_acl_set_file(handle, fsp->fsp_name,
SMB_ACL_TYPE_ACCESS, theacl);
type, theacl);
}
static int gpfsacl_sys_acl_delete_def_file(vfs_handle_struct *handle,