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:
42e99ec
)
vfs_default: call smb_vfs_assert_all_fns()
author
Stefan Metzmacher
<metze@samba.org>
Mon, 23 Jul 2018 07:14:36 +0000
(09:14 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 24 Jul 2018 22:23:12 +0000
(
00:23
+0200)
This module needs to implement every call.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_default.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_default.c
b/source3/modules/vfs_default.c
index 082b70f5a98eeccbd3d69aca0f23bb3fa8c8175a..cbe505dd1d1fd06655629442e34d84a36f1925f9 100644
(file)
--- a/
source3/modules/vfs_default.c
+++ b/
source3/modules/vfs_default.c
@@
-3000,6
+3000,12
@@
static struct vfs_fn_pointers vfs_default_fns = {
static_decl_vfs;
NTSTATUS vfs_default_init(TALLOC_CTX *ctx)
{
+ /*
+ * Here we need to implement every call!
+ *
+ * As this is the end of the vfs module chain.
+ */
+ smb_vfs_assert_all_fns(&vfs_default_fns, DEFAULT_VFS_MODULE_NAME);
return smb_register_vfs(SMB_VFS_INTERFACE_VERSION,
DEFAULT_VFS_MODULE_NAME, &vfs_default_fns);
}