mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
vfs_time_audit: Assert that all VFS functions are implemented
Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
8a9f74e3ac
commit
0d9c2b95b2
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user