From: Ralph Boehme Date: Sun, 13 Dec 2020 08:19:25 +0000 (+0100) Subject: vfs_gpfs: add support for SMB_ACL_TYPE_DEFAULT in gpfsacl_sys_acl_set_fd() X-Git-Tag: samba-4.14.0rc1~218 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba07df5e0d9d43ba74b93e9b05156b0c1a2f83a9;p=thirdparty%2Fsamba.git vfs_gpfs: add support for SMB_ACL_TYPE_DEFAULT in gpfsacl_sys_acl_set_fd() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- 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,