diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-07-23 09:02:52 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2018-07-25 00:23:12 +0200 |
commit | 42e99ec331dd667f145389683d7a0d8d310a8275 (patch) | |
tree | b600f4ecd16b9620b16ec1564bb58af8e3bed97c /examples | |
parent | 829fdf10303fed8ed0e972cc2391bc88eebb3bb6 (diff) | |
download | samba-42e99ec331dd667f145389683d7a0d8d310a8275.tar.gz |
examples/VFS/skel_transparent: call smb_vfs_assert_all_fns()
This template should always include all calls.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_transparent.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 9ed902ed8cd..513294f867f 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -1253,6 +1253,14 @@ struct vfs_fn_pointers skel_transparent_fns = { static_decl_vfs; NTSTATUS vfs_skel_transparent_init(TALLOC_CTX *ctx) { + /* + * smb_vfs_assert_all_fns() is only needed in + * order to have a complete example. + * + * A transparent vfs module typically don't + * need to implement every calls. + */ + smb_vfs_assert_all_fns(&skel_transparent_fns, "skel_transparent"); return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "skel_transparent", &skel_transparent_fns); } |