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_hpuxacl.c | |
parent | b2182c11eab0e1b2f0acb5d82aec86d4598573eb (diff) | |
download | samba-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_hpuxacl.c')
-rw-r--r-- | source3/modules/vfs_hpuxacl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_hpuxacl.c b/source3/modules/vfs_hpuxacl.c index 67fbfe56f6..e101886450 100644 --- a/source3/modules/vfs_hpuxacl.c +++ b/source3/modules/vfs_hpuxacl.c @@ -1,7 +1,7 @@ /* * Unix SMB/Netbios implementation. * VFS module to get and set HP-UX ACLs - * Copyright (C) Michael Adam 2006 + * Copyright (C) Michael Adam 2006,2008 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -306,14 +306,14 @@ int hpuxacl_sys_acl_set_file(vfs_handle_struct *handle, */ int hpuxacl_sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp, - int fd, SMB_ACL_T theacl) + SMB_ACL_T theacl) { /* * 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 -1; |