From 859269c9492e002f02415d610c83452538147972 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Tue, 10 Apr 2007 15:41:22 +0000 Subject: [PATCH] r22148: Fix gpfs module on posix-acl test. Adds gpfsacl_sys_set_fd (calls _file). Thanks to Gomati Mohanan. --- source/modules/vfs_gpfs.c | 3 +-- 1 file changed, 1 insertion(+), 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, -- 2.11.4.GIT