diff options
author | Jim McDonough <jmcd@samba.org> | 2007-04-10 15:41:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:16 -0500 |
commit | 859269c9492e002f02415d610c83452538147972 (patch) | |
tree | 7a0d5e3bc6c92fb1c47bb772d5b720e29c1060be /source/modules/vfs_gpfs.c | |
parent | 42f42321558ed0647697e5bfd7d5339a29aa30d9 (diff) | |
download | samba-859269c9492e002f02415d610c83452538147972.tar.gz samba-859269c9492e002f02415d610c83452538147972.tar.xz samba-859269c9492e002f02415d610c83452538147972.zip |
r22148: Fix gpfs module on posix-acl test. Adds gpfsacl_sys_set_fd (calls
_file). Thanks to Gomati Mohanan.
Diffstat (limited to 'source/modules/vfs_gpfs.c')
-rw-r--r-- | source/modules/vfs_gpfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/modules/vfs_gpfs.c b/source/modules/vfs_gpfs.c index 20c9f56a170..6841300d5b3 100644 --- a/source/modules/vfs_gpfs.c +++ b/source/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, |