diff options
author | Michael Adam <obnox@samba.org> | 2008-01-08 01:14:24 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-08 01:14:24 +0100 |
commit | b2182c11eab0e1b2f0acb5d82aec86d4598573eb (patch) | |
tree | afcdbd523fdce750ae9569808ceb68b59649e8db /source3/modules/vfs_extd_audit.c | |
parent | 65fc5dbedd1b858d7406e4691e2ecc663ba756ce (diff) | |
download | samba-b2182c11eab0e1b2f0acb5d82aec86d4598573eb.tar.gz |
Remove redundant parameter fd from SMB_VFS_FCHMOD_ACL().
Michael
(This used to be commit 7b201c177b3668f54751ba17d6a0b53ed913e7f7)
Diffstat (limited to 'source3/modules/vfs_extd_audit.c')
-rw-r--r-- | source3/modules/vfs_extd_audit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_extd_audit.c b/source3/modules/vfs_extd_audit.c index f9b03731e70..a21e281e2ca 100644 --- a/source3/modules/vfs_extd_audit.c +++ b/source3/modules/vfs_extd_audit.c @@ -43,7 +43,7 @@ static int audit_unlink(vfs_handle_struct *handle, const char *path); static int audit_chmod(vfs_handle_struct *handle, const char *path, mode_t mode); static int audit_chmod_acl(vfs_handle_struct *handle, const char *name, mode_t mode); static int audit_fchmod(vfs_handle_struct *handle, files_struct *fsp, mode_t mode); -static int audit_fchmod_acl(vfs_handle_struct *handle, files_struct *fsp, int fd, mode_t mode); +static int audit_fchmod_acl(vfs_handle_struct *handle, files_struct *fsp, mode_t mode); /* VFS operations */ @@ -328,11 +328,11 @@ static int audit_fchmod(vfs_handle_struct *handle, files_struct *fsp, mode_t mod return result; } -static int audit_fchmod_acl(vfs_handle_struct *handle, files_struct *fsp, int fd, mode_t mode) +static int audit_fchmod_acl(vfs_handle_struct *handle, files_struct *fsp, mode_t mode) { int result; - result = SMB_VFS_NEXT_FCHMOD_ACL(handle, fsp, fd, mode); + result = SMB_VFS_NEXT_FCHMOD_ACL(handle, fsp, mode); syslog(audit_syslog_priority(handle), "fchmod_acl %s mode 0x%x %s%s\n", fsp->fsp_name, mode, |