summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_tru64acl.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 23:53:34 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 23:54:07 +0100
commit62e9d503d82d645cf29af643732ad97c0eb8b340 (patch)
tree494195be6bd575a41a334f602b6fe0456390c072 /source3/modules/vfs_tru64acl.c
parenta8d200893a0a7bfbd5a33a52fbe47c4d14a6ed50 (diff)
downloadsamba-62e9d503d82d645cf29af643732ad97c0eb8b340.tar.gz
samba-62e9d503d82d645cf29af643732ad97c0eb8b340.tar.bz2
samba-62e9d503d82d645cf29af643732ad97c0eb8b340.zip
Remove redundant parameter fd from SMB_VFS_SYS_ACL_GET_FD().
Michael (This used to be commit 42663e8736e1a3dfb57e0aafdcbf5fec880da779)
Diffstat (limited to 'source3/modules/vfs_tru64acl.c')
-rw-r--r--source3/modules/vfs_tru64acl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/modules/vfs_tru64acl.c b/source3/modules/vfs_tru64acl.c
index 43cae0f826..ee81ee6021 100644
--- a/source3/modules/vfs_tru64acl.c
+++ b/source3/modules/vfs_tru64acl.c
@@ -67,11 +67,10 @@ SMB_ACL_T tru64acl_sys_acl_get_file(vfs_handle_struct *handle,
}
SMB_ACL_T tru64acl_sys_acl_get_fd(vfs_handle_struct *handle,
- files_struct *fsp,
- int fd)
+ files_struct *fsp)
{
struct smb_acl_t *result;
- acl_t tru64_acl = acl_get_fd(fd, ACL_TYPE_ACCESS);
+ acl_t tru64_acl = acl_get_fd(fsp->fh->fd, ACL_TYPE_ACCESS);
if (tru64_acl == NULL) {
return NULL;