1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

vfs_full_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:
Christof Schmitt 2016-03-31 22:30:14 -07:00 committed by Jeremy Allison
parent d18a0ff9cb
commit 8a9f74e3ac

View File

@ -2587,9 +2587,13 @@ static struct vfs_fn_pointers vfs_full_audit_fns = {
static_decl_vfs;
NTSTATUS vfs_full_audit_init(void)
{
NTSTATUS ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION,
"full_audit", &vfs_full_audit_fns);
NTSTATUS ret;
smb_vfs_assert_all_fns(&vfs_full_audit_fns, "full_audit");
ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "full_audit",
&vfs_full_audit_fns);
if (!NT_STATUS_IS_OK(ret))
return ret;