summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2007-04-10 15:41:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:16 -0500
commitd6d35eab6e702c1a132eafb4c334ee4bad8e4f4f (patch)
tree7ed665ee58ed9e8b5e6e8ffc792ac8824a47bf5f
parentb61fac6742a14b252b5a1a415144939f29fba8b9 (diff)
downloadsamba-d6d35eab6e702c1a132eafb4c334ee4bad8e4f4f.tar.gz
samba-d6d35eab6e702c1a132eafb4c334ee4bad8e4f4f.tar.bz2
samba-d6d35eab6e702c1a132eafb4c334ee4bad8e4f4f.zip
r22148: Fix gpfs module on posix-acl test. Adds gpfsacl_sys_set_fd (calls
_file). Thanks to Gomati Mohanan. (This used to be commit 859269c9492e002f02415d610c83452538147972)
-rw-r--r--source3/modules/vfs_gpfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index 20c9f56a17..6841300d5b 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -597,8 +597,7 @@ int gpfsacl_sys_acl_set_fd(vfs_handle_struct *handle,
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,