summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_full_audit.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 17:14:20 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 17:14:20 +0100
commit327cc04da587fa54f28dafb00267fde79b858349 (patch)
tree9c9d6b6eea2c518560ff4023d12aec908c74a1f8 /source3/modules/vfs_full_audit.c
parentf6cac02f00da72885e8a6d0104d099d84ac0ff6e (diff)
downloadsamba-327cc04da587fa54f28dafb00267fde79b858349.tar.gz
samba-327cc04da587fa54f28dafb00267fde79b858349.tar.bz2
samba-327cc04da587fa54f28dafb00267fde79b858349.zip
Remove redundant parameter fd from SMB_VFS_KERNEL_FLOCK().
Michael (This used to be commit 195c519377c2fdc655e25760b52bc0694b8dda81)
Diffstat (limited to 'source3/modules/vfs_full_audit.c')
-rw-r--r--source3/modules/vfs_full_audit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index 13f442485f..cc14597d97 100644
--- a/source3/modules/vfs_full_audit.c
+++ b/source3/modules/vfs_full_audit.c
@@ -163,7 +163,7 @@ static int smb_full_audit_ftruncate(vfs_handle_struct *handle, files_struct *fsp
static bool smb_full_audit_lock(vfs_handle_struct *handle, files_struct *fsp,
int op, SMB_OFF_T offset, SMB_OFF_T count, int type);
static int smb_full_audit_kernel_flock(struct vfs_handle_struct *handle,
- struct files_struct *fsp, int fd,
+ struct files_struct *fsp,
uint32 share_mode);
static int smb_full_audit_linux_setlease(vfs_handle_struct *handle, files_struct *fsp,
int fd, int leasetype);
@@ -1378,12 +1378,12 @@ static bool smb_full_audit_lock(vfs_handle_struct *handle, files_struct *fsp,
}
static int smb_full_audit_kernel_flock(struct vfs_handle_struct *handle,
- struct files_struct *fsp, int fd,
+ struct files_struct *fsp,
uint32 share_mode)
{
int result;
- result = SMB_VFS_NEXT_KERNEL_FLOCK(handle, fsp, fd, share_mode);
+ result = SMB_VFS_NEXT_KERNEL_FLOCK(handle, fsp, share_mode);
do_log(SMB_VFS_OP_KERNEL_FLOCK, (result >= 0), handle, "%s",
fsp->fsp_name);