git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8a9f74e
)
vfs_time_audit: Assert that all VFS functions are implemented
author
Christof Schmitt
<cs@samba.org>
Fri, 1 Apr 2016 05:30:41 +0000
(22:30 -0700)
committer
Jeremy Allison
<jra@samba.org>
Tue, 5 Apr 2016 22:15:17 +0000
(
00:15
+0200)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_time_audit.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_time_audit.c
b/source3/modules/vfs_time_audit.c
index 8d88d1713c9ff081d7708b67f984ce0b1def42f0..b3610ee07ba4b8001522c75166907603c94803f6 100644
(file)
--- a/
source3/modules/vfs_time_audit.c
+++ b/
source3/modules/vfs_time_audit.c
@@
-2724,6
+2724,8
@@
static struct vfs_fn_pointers vfs_time_audit_fns = {
NTSTATUS vfs_time_audit_init(void);
NTSTATUS vfs_time_audit_init(void)
{
+ smb_vfs_assert_all_fns(&vfs_time_audit_fns, "time_audit");
+
audit_timeout = (double)lp_parm_int(-1, "time_audit", "timeout",
10000) / 1000.0;
return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "time_audit",