smb_fem.c revision da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <smbsrv/smb_incl.h>
#include <sys/vfs_opreg.h>
caller_context_t *, int);
cred_t *, caller_context_t *, int);
caller_context_t *, int);
caller_context_t *, int);
char *, cred_t *, caller_context_t *, int);
static const fs_operation_def_t smb_fcn_tmpl[] = {
};
int
{
}
void
{
if (smb_fcn_ops)
}
void
{
}
void
{
}
/*
* smb_fem_fcn_create()
*
* This monitor will catch only changes to VREG files and not to extended
* attribute files. This is fine because, for CIFS files, stream creates
* should not trigger any file change notification on the VDIR directory
* being monitored. Creates of any other kind of extended attribute in
* the directory will also not trigger any file change notification on the
* VDIR directory being monitored.
*/
int
char *name,
int mode,
int flag,
{
int error;
if (error == 0)
return (error);
}
/*
* smb_fem_fcn_remove()
*
* This monitor will catch only changes to VREG files and to not extended
* attribute files. This is fine because, for CIFS files, stream deletes
* should not trigger any file change notification on the VDIR directory
* being monitored. Deletes of any other kind of extended attribute in
* the directory will also not trigger any file change notification on the
* VDIR directory being monitored.
*/
int
char *name,
int flags)
{
int error;
if (error == 0)
return (error);
}
int
char *snm,
char *tnm,
int flags)
{
int error;
if (error == 0)
return (error);
}
int
char *name,
int flags,
{
int error;
if (error == 0)
return (error);
}
int
char *name,
int flags)
{
int error;
if (error == 0)
return (error);
}
int
char *tnm,
int flags)
{
int error;
if (error == 0)
return (error);
}
int
char *linkname,
char *target,
int flags)
{
int error;
if (error == 0)
return (error);
}