diff options
author | James Peach <jpeach@samba.org> | 2007-03-08 01:40:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:28 -0500 |
commit | 6e5ea70e9e0aafa39dbf8cd53238d0045f38f468 (patch) | |
tree | bd2c3726d5953f2cda700f8c20bacb9b75fcef33 /source3/include/vfs.h | |
parent | 286d8554aa4547629b7e5d1349be4550885b76a2 (diff) | |
download | samba-6e5ea70e9e0aafa39dbf8cd53238d0045f38f468.tar.gz samba-6e5ea70e9e0aafa39dbf8cd53238d0045f38f468.tar.xz samba-6e5ea70e9e0aafa39dbf8cd53238d0045f38f468.zip |
r21757: Add SMB_VFS_CHFLAGS operation.
(This used to be commit 16cb22d6b83c502dec1b297c544c05d89714b3d6)
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r-- | source3/include/vfs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 7bcd6cdf2c4..5e7048bb54c 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -69,7 +69,8 @@ Also included linux setlease call - jmcd */ /* Changed to version 20, use ntimes call instead of utime (greater * timestamp resolition. JRA. */ -#define SMB_VFS_INTERFACE_VERSION 20 +/* Changed to version21 to add chflags operation -- jpeach */ +#define SMB_VFS_INTERFACE_VERSION 21 /* to bug old modules which are trying to compile with the old functions */ @@ -158,6 +159,7 @@ typedef enum _vfs_op_type { SMB_VFS_OP_MKNOD, SMB_VFS_OP_REALPATH, SMB_VFS_OP_NOTIFY_WATCH, + SMB_VFS_OP_CHFLAGS, /* NT ACL operations. */ @@ -289,6 +291,7 @@ struct vfs_ops { void *private_data, struct notify_event *ev), void *private_data, void *handle_p); + int (*chflags)(struct vfs_handle_struct *handle, const char *path, uint flags); /* NT ACL operations. */ @@ -406,6 +409,7 @@ struct vfs_ops { struct vfs_handle_struct *mknod; struct vfs_handle_struct *realpath; struct vfs_handle_struct *notify_watch; + struct vfs_handle_struct *chflags; /* NT ACL operations. */ |