diff options
author | Michael Adam <obnox@samba.org> | 2008-01-08 01:54:19 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-08 01:54:19 +0100 |
commit | 5921607f2647cec20a6bcebd17c5a0c53449c1ba (patch) | |
tree | 09b0b2af053045a0568649292e6af3e09a125a43 /source3/modules/vfs_aixacl.c | |
parent | b2182c11eab0e1b2f0acb5d82aec86d4598573eb (diff) | |
download | samba-5921607f2647cec20a6bcebd17c5a0c53449c1ba.tar.gz |
Remove redundant parameter fd from SMB_VFS_SYS_ACL_SET_FD().
Michael
(This used to be commit 9296e93588c0e795cae770765050247ac1474a74)
Diffstat (limited to 'source3/modules/vfs_aixacl.c')
-rw-r--r-- | source3/modules/vfs_aixacl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_aixacl.c b/source3/modules/vfs_aixacl.c index 1a76ed68789..726a7f485e8 100644 --- a/source3/modules/vfs_aixacl.c +++ b/source3/modules/vfs_aixacl.c @@ -153,7 +153,7 @@ int aixacl_sys_acl_set_file(vfs_handle_struct *handle, int aixacl_sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp, - int fd, SMB_ACL_T theacl) + SMB_ACL_T theacl) { struct acl *file_acl = NULL; unsigned int rc; @@ -162,7 +162,7 @@ int aixacl_sys_acl_set_fd(vfs_handle_struct *handle, if (!file_acl) return -1; - rc = fchacl(fd,file_acl,file_acl->acl_len); + rc = fchacl(fsp->fh->fd,file_acl,file_acl->acl_len); DEBUG(10,("errno is %d\n",errno)); DEBUG(10,("return code is %d\n",rc)); SAFE_FREE(file_acl); |