From ba07df5e0d9d43ba74b93e9b05156b0c1a2f83a9 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Sun, 13 Dec 2020 09:19:25 +0100 Subject: [PATCH] vfs_gpfs: add support for SMB_ACL_TYPE_DEFAULT in gpfsacl_sys_acl_set_fd() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- source3/modules/vfs_gpfs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 56a7254a7e6..e06df81d911 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -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, -- 2.47.2