vfs_default: call smb_vfs_assert_all_fns()
[samba.git] / source3 / modules / vfs_default.c
index 082b70f5a98eeccbd3d69aca0f23bb3fa8c8175a..cbe505dd1d1fd06655629442e34d84a36f1925f9 100644 (file)
@@ -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);
 }