/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
#include <sys/pathname.h>
#include <sys/sysmacros.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include "vncache.h"
int
fksmbsrv_vfs_init(void)
{
rootvfs = &fake_rootvfs;
}
return (errno);
if (fd < 0) {
return (errno);
}
return (err);
}
/* extra hold for rootvp */
/* VFS stuff in global zone struct. */
}
return (0);
}
/*
* Query a vfs for a feature.
* Returns 1 if feature is present, 0 if not
*/
/* ARGSUSED */
int
{
int ret = 0;
ret = 1;
return (ret);
}
/* ARGSUSED */
struct vfs *
{
return (rootvfs);
}
vfsops_t *
{
}
/* ARGSUSED */
struct vfssw *
{
return (NULL);
}
/* ARGSUSED */
void
{
}
/* ARGSUSED */
int
{
return (ENXIO);
return (0);
}
/* ARGSUSED */
int
{
int rc;
return (ENXIO);
if (rc == -1) {
}
return (rc);
}
refstr_t *
{
return (mntpt);
}
/* ARGSUSED */
void
{
}
/* ARGSUSED */
void
{
}
/* ARGSUSED */
int
{
return (0);
}
/* ARGSUSED */
int
{
return (0);
}
/* ARGSUSED */
void
{
}
/* ARGSUSED */
void
{
}
/* ARGSUSED */
void
{
}
fs_new_caller_id(void)
{
return (++fs_caller_id);
}
lm_alloc_sysidt(void)
{
return (++lm_sysid);
}
/* ARGSUSED */
void
{
}