summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_hpuxacl.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_hpuxacl.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_hpuxacl.c')
-rw-r--r--source3/modules/vfs_hpuxacl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/modules/vfs_hpuxacl.c b/source3/modules/vfs_hpuxacl.c
index edce161c19..67fbfe56f6 100644
--- a/source3/modules/vfs_hpuxacl.c
+++ b/source3/modules/vfs_hpuxacl.c
@@ -182,15 +182,14 @@ SMB_ACL_T hpuxacl_sys_acl_get_file(vfs_handle_struct *handle,
* get the access ACL of a file referred to by a fd
*/
SMB_ACL_T hpuxacl_sys_acl_get_fd(vfs_handle_struct *handle,
- files_struct *fsp,
- int fd)
+ files_struct *fsp)
{
/*
* HPUX doesn't have the facl call. Fake it using the path.... JRA.
*/
/* For all I see, the info should already be in the fsp
* parameter, but get it again to be safe --- necessary? */
- files_struct *file_struct_p = file_find_fd(fd);
+ files_struct *file_struct_p = file_find_fd(fsp->fh->fd);
if (file_struct_p == NULL) {
errno = EBADF;
return NULL;