From 4045575a2f7465d1d0d3c7ee9c549c80b481fc40 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 5 Apr 2010 14:41:17 +0200 Subject: [PATCH] s3: Fix bug 7326 -- can't write with vfs_full_audit active --- source3/modules/vfs_full_audit.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index ebe89ec..cd53c3e 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -158,7 +158,7 @@ static int smb_full_audit_fstat(vfs_handle_struct *handle, files_struct *fsp, SMB_STRUCT_STAT *sbuf); static int smb_full_audit_lstat(vfs_handle_struct *handle, const char *path, SMB_STRUCT_STAT *sbuf); -static int smb_full_audit_get_alloc_size(vfs_handle_struct *handle, +static uint64_t smb_full_audit_get_alloc_size(vfs_handle_struct *handle, files_struct *fsp, const SMB_STRUCT_STAT *sbuf); static int smb_full_audit_unlink(vfs_handle_struct *handle, const char *path); @@ -1396,10 +1396,10 @@ static int smb_full_audit_lstat(vfs_handle_struct *handle, return result; } -static int smb_full_audit_get_alloc_size(vfs_handle_struct *handle, +static uint64_t smb_full_audit_get_alloc_size(vfs_handle_struct *handle, files_struct *fsp, const SMB_STRUCT_STAT *sbuf) { - int result; + uint64_t result; result = SMB_VFS_NEXT_GET_ALLOC_SIZE(handle, fsp, sbuf); -- 1.6.0.4