summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_aixacl2.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-08 01:54:19 +0100
committerMichael Adam <obnox@samba.org>2008-01-08 01:54:19 +0100
commit5921607f2647cec20a6bcebd17c5a0c53449c1ba (patch)
tree09b0b2af053045a0568649292e6af3e09a125a43 /source3/modules/vfs_aixacl2.c
parentb2182c11eab0e1b2f0acb5d82aec86d4598573eb (diff)
downloadsamba-5921607f2647cec20a6bcebd17c5a0c53449c1ba.tar.gz
samba-5921607f2647cec20a6bcebd17c5a0c53449c1ba.tar.bz2
samba-5921607f2647cec20a6bcebd17c5a0c53449c1ba.zip
Remove redundant parameter fd from SMB_VFS_SYS_ACL_SET_FD().
Michael (This used to be commit 9296e93588c0e795cae770765050247ac1474a74)
Diffstat (limited to 'source3/modules/vfs_aixacl2.c')
-rw-r--r--source3/modules/vfs_aixacl2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_aixacl2.c b/source3/modules/vfs_aixacl2.c
index 42ecb9892c..996adbbdfe 100644
--- a/source3/modules/vfs_aixacl2.c
+++ b/source3/modules/vfs_aixacl2.c
@@ -448,7 +448,7 @@ int aixjfs2_sys_acl_set_file(vfs_handle_struct *handle,
int aixjfs2_sys_acl_set_fd(vfs_handle_struct *handle,
files_struct *fsp,
- int fd, SMB_ACL_T theacl)
+ SMB_ACL_T theacl)
{
struct acl *acl_aixc;
acl_type_t acl_type_info;
@@ -467,7 +467,7 @@ int aixjfs2_sys_acl_set_fd(vfs_handle_struct *handle,
return -1;
rc = aclx_fput(
- fd,
+ fsp->fh->fd,
SET_ACL, /* set only the ACL, not mode bits */
acl_type_info,
acl_aixc,