Author: jmcd Date: 2007-04-10 15:41:22 +0000 (Tue, 10 Apr 2007) New Revision: 22148
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22148 Log: Fix gpfs module on posix-acl test. Adds gpfsacl_sys_set_fd (calls _file). Thanks to Gomati Mohanan. Modified: branches/SAMBA_3_0/source/modules/vfs_gpfs.c branches/SAMBA_3_0_25/source/modules/vfs_gpfs.c Changeset: Modified: branches/SAMBA_3_0/source/modules/vfs_gpfs.c =================================================================== --- branches/SAMBA_3_0/source/modules/vfs_gpfs.c 2007-04-10 07:36:58 UTC (rev 22147) +++ branches/SAMBA_3_0/source/modules/vfs_gpfs.c 2007-04-10 15:41:22 UTC (rev 22148) @@ -597,8 +597,7 @@ files_struct *fsp, int fd, SMB_ACL_T theacl) { - errno = ENOTSUP; - return -1; + return gpfsacl_sys_acl_set_file(handle, fsp->fsp_name, SMB_ACL_TYPE_ACCESS, theacl); } int gpfsacl_sys_acl_delete_def_file(vfs_handle_struct *handle, Modified: branches/SAMBA_3_0_25/source/modules/vfs_gpfs.c =================================================================== --- branches/SAMBA_3_0_25/source/modules/vfs_gpfs.c 2007-04-10 07:36:58 UTC (rev 22147) +++ branches/SAMBA_3_0_25/source/modules/vfs_gpfs.c 2007-04-10 15:41:22 UTC (rev 22148) @@ -597,8 +597,7 @@ files_struct *fsp, int fd, SMB_ACL_T theacl) { - errno = ENOTSUP; - return -1; + return gpfsacl_sys_acl_set_file(handle, fsp->fsp_name, SMB_ACL_TYPE_ACCESS, theacl); } int gpfsacl_sys_acl_delete_def_file(vfs_handle_struct *handle,