mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
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 b29ff81673
)
This commit is contained in:
parent
5ba7235f0f
commit
aae30b6799
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user