git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ccecdd
)
Fix related to bug #7326 - can't read/write any files with full_audit
author
Volker Lendecke
<vl@samba.org>
Mon, 5 Apr 2010 20:50:59 +0000
(13:50 -0700)
committer
Jeremy Allison
<jra@samba.org>
Mon, 5 Apr 2010 20:50:59 +0000
(13:50 -0700)
source3/modules/vfs_full_audit.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_full_audit.c
b/source3/modules/vfs_full_audit.c
index 6986a86c2de12547ad802354e6d94b8b7e3ebdd5..8a93695a81d65977d220197a310228b5159ad37f 100644
(file)
--- 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)
{
-
in
t 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;
}