summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_posixacl.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_posixacl.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_posixacl.c')
-rw-r--r--source3/modules/vfs_posixacl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_posixacl.c b/source3/modules/vfs_posixacl.c
index faa5e8e2ad..21fb2ada31 100644
--- a/source3/modules/vfs_posixacl.c
+++ b/source3/modules/vfs_posixacl.c
@@ -113,14 +113,14 @@ int posixacl_sys_acl_set_file(vfs_handle_struct *handle,
int posixacl_sys_acl_set_fd(vfs_handle_struct *handle,
files_struct *fsp,
- int fd, SMB_ACL_T theacl)
+ SMB_ACL_T theacl)
{
int res;
acl_t acl = smb_acl_to_posix(theacl);
if (acl == NULL) {
return -1;
}
- res = acl_set_fd(fd, acl);
+ res = acl_set_fd(fsp->fh->fd, acl);
acl_free(acl);
return res;
}