summaryrefslogtreecommitdiffstats
path: root/source/modules/vfs_default.c
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-03-08 01:40:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:28 -0500
commit16cb22d6b83c502dec1b297c544c05d89714b3d6 (patch)
tree0177241777d0c1b2c67b01f13722a02fb509881d /source/modules/vfs_default.c
parent698159c0ee8d9adb3b56231c0c8ad2ddebd5be11 (diff)
downloadsamba-16cb22d6b83c502dec1b297c544c05d89714b3d6.tar.gz
samba-16cb22d6b83c502dec1b297c544c05d89714b3d6.tar.xz
samba-16cb22d6b83c502dec1b297c544c05d89714b3d6.zip
r21757: Add SMB_VFS_CHFLAGS operation.
Diffstat (limited to 'source/modules/vfs_default.c')
-rw-r--r--source/modules/vfs_default.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/modules/vfs_default.c b/source/modules/vfs_default.c
index f482a3b1f3d..4febc064d94 100644
--- a/source/modules/vfs_default.c
+++ b/source/modules/vfs_default.c
@@ -903,6 +903,12 @@ static NTSTATUS vfswrap_notify_watch(vfs_handle_struct *vfs_handle,
return NT_STATUS_OK;
}
+static int vfswrap_chflags(vfs_handle_struct *handle, const char *path, int flags)
+{
+ errno = ENOSYS;
+ return -1;
+}
+
static size_t vfswrap_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp, int fd, uint32 security_info, SEC_DESC **ppdesc)
{
size_t result;
@@ -1286,6 +1292,8 @@ static vfs_op_tuple vfs_default_ops[] = {
SMB_VFS_LAYER_OPAQUE},
{SMB_VFS_OP(vfswrap_notify_watch), SMB_VFS_OP_NOTIFY_WATCH,
SMB_VFS_LAYER_OPAQUE},
+ {SMB_VFS_OP(vfswrap_chflags), SMB_VFS_OP_CHFLAGS,
+ SMB_VFS_LAYER_OPAQUE},
/* NT ACL operations. */