summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_full_audit.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-08 11:47:33 +0100
committerMichael Adam <obnox@samba.org>2008-01-08 11:47:33 +0100
commitaab6704ce803a738ba125895b20a31f242fe2885 (patch)
tree1e2657b69b401cf2084c83e4e18620e9b31c1670 /source3/modules/vfs_full_audit.c
parent1590dd32cfccd9ce73cd798330b5207bcc48bfaf (diff)
downloadsamba-aab6704ce803a738ba125895b20a31f242fe2885.tar.gz
samba-aab6704ce803a738ba125895b20a31f242fe2885.tar.bz2
samba-aab6704ce803a738ba125895b20a31f242fe2885.zip
Remove redundant parameter fd from SMB_VFS_FSETXATTR().
Michael (This used to be commit 0bd2643463a9160c8a1c7e1c2f8cca7b89060e09)
Diffstat (limited to 'source3/modules/vfs_full_audit.c')
-rw-r--r--source3/modules/vfs_full_audit.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index 6517c17256..ffa2c52da1 100644
--- a/source3/modules/vfs_full_audit.c
+++ b/source3/modules/vfs_full_audit.c
@@ -297,7 +297,7 @@ static int smb_full_audit_lsetxattr(struct vfs_handle_struct *handle,
const char *name, const void *value, size_t size,
int flags);
static int smb_full_audit_fsetxattr(struct vfs_handle_struct *handle,
- struct files_struct *fsp, int fd, const char *name,
+ struct files_struct *fsp, const char *name,
const void *value, size_t size, int flags);
static int smb_full_audit_aio_read(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_STRUCT_AIOCB *aiocb);
@@ -2082,13 +2082,12 @@ static int smb_full_audit_lsetxattr(struct vfs_handle_struct *handle,
}
static int smb_full_audit_fsetxattr(struct vfs_handle_struct *handle,
- struct files_struct *fsp, int fd, const char *name,
+ struct files_struct *fsp, const char *name,
const void *value, size_t size, int flags)
{
int result;
- result = SMB_VFS_NEXT_FSETXATTR(handle, fsp, fd, name, value, size,
- flags);
+ result = SMB_VFS_NEXT_FSETXATTR(handle, fsp, name, value, size, flags);
do_log(SMB_VFS_OP_FSETXATTR, (result >= 0), handle,
"%s|%s", fsp->fsp_name, name);