From: Christof Schmitt Date: Fri, 1 Apr 2016 05:30:41 +0000 (-0700) Subject: vfs_time_audit: Assert that all VFS functions are implemented X-Git-Tag: tdb-1.3.9~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d9c2b95b2954fca8a43e7d7561f04bfb7600667;p=thirdparty%2Fsamba.git vfs_time_audit: Assert that all VFS functions are implemented Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_time_audit.c b/source3/modules/vfs_time_audit.c index 8d88d1713c9..b3610ee07ba 100644 --- 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",