From aae30b679981e019aa36d83beff83d30b937a16d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 6 Nov 2000 21:33:49 +0000 Subject: Added a VFS version return to init call. Allows smbd to fail an init if versions don't match. Jeremy. (This used to be commit b29ff816734c0424f69124feb316da13f2e094f7) --- examples/VFS/skel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/VFS') diff --git a/examples/VFS/skel.c b/examples/VFS/skel.c index d1ec5b9180..9bb84fe2b1 100644 --- a/examples/VFS/skel.c +++ b/examples/VFS/skel.c @@ -132,8 +132,9 @@ struct vfs_ops skel_ops = { /* VFS initialisation - return vfs_ops function pointer structure */ -struct vfs_ops *vfs_init(void) +struct vfs_ops *vfs_init(int *vfs_version) { + *vfs_version = SMB_VFS_INTERFACE_VERSION; return(&skel_ops); } -- cgit