summaryrefslogtreecommitdiff
path: root/source3/include/vfs.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 13:44:37 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 15:59:02 +0100
commite614dec27f33c932c6c29c806d567fd6015cd5e6 (patch)
treec597b29eee25c363791bfda777da0f70034ce47a /source3/include/vfs.h
parent87a684f7fcfa8d9fabc42e33981299d0b33eeeb7 (diff)
downloadsamba-e614dec27f33c932c6c29c806d567fd6015cd5e6.tar.gz
samba-e614dec27f33c932c6c29c806d567fd6015cd5e6.tar.bz2
samba-e614dec27f33c932c6c29c806d567fd6015cd5e6.zip
Remove redundant parameter fd from SMB_VFS_FCHMOD().
Michael (This used to be commit a54d5604da556d1250ca9948d4acc4a187a9fede)
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r--source3/include/vfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index f4422e4fa9..95e863b690 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -84,6 +84,7 @@
/* Leave at 22 - not yet released. Remove parameter fd from lseek. - obnox */
/* Leave at 22 - not yet released. Remove parameter fd from fsync. - obnox */
/* Leave at 22 - not yet released. Remove parameter fd from fstat. - obnox */
+/* Leave at 22 - not yet released. Remove parameter fd from fchmod. - obnox */
#define SMB_VFS_INTERFACE_VERSION 22
@@ -288,7 +289,7 @@ struct vfs_ops {
int (*lstat)(struct vfs_handle_struct *handle, const char *path, SMB_STRUCT_STAT *sbuf);
int (*unlink)(struct vfs_handle_struct *handle, const char *path);
int (*chmod)(struct vfs_handle_struct *handle, const char *path, mode_t mode);
- int (*fchmod)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, mode_t mode);
+ int (*fchmod)(struct vfs_handle_struct *handle, struct files_struct *fsp, mode_t mode);
int (*chown)(struct vfs_handle_struct *handle, const char *path, uid_t uid, gid_t gid);
int (*fchown)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, uid_t uid, gid_t gid);
int (*lchown)(struct vfs_handle_struct *handle, const char *path, uid_t uid, gid_t gid);