[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Mon Apr 5 14:51:49 MDT 2010


The branch, master has been updated
       via  2754a8e... Fix related to bug #7326 - can't read/write any files with full_audit
      from  3ccecdd... s3: Fix a cut&paste error in winbindd_list_groups_done

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 2754a8e2b60fb07ebec6384fc3c3a7c3450de5b3
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Apr 5 13:50:59 2010 -0700

    Fix related to bug #7326 - can't read/write any files with full_audit

-----------------------------------------------------------------------

Summary of changes:
 source3/modules/vfs_full_audit.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index 6986a86..8a93695 100644
--- a/source3/modules/vfs_full_audit.c
+++ b/source3/modules/vfs_full_audit.c
@@ -1083,11 +1083,12 @@ static int smb_full_audit_lstat(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);
 
-	do_log(SMB_VFS_OP_GET_ALLOC_SIZE, (result >= 0), handle, "%d", result);
+	do_log(SMB_VFS_OP_GET_ALLOC_SIZE, (result != (uint64_t)-1), handle,
+			"%llu", result);
 
 	return result;
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list