summaryrefslogtreecommitdiff
path: root/source3/include/vfs.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 13:21:26 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 15:59:01 +0100
commit87a684f7fcfa8d9fabc42e33981299d0b33eeeb7 (patch)
tree9c348c30ed24be60e1aa96e725af3f06bf82ad5a /source3/include/vfs.h
parent8dcce0d236b2102ca94fbcb7aa7126fe6733f2e7 (diff)
downloadsamba-87a684f7fcfa8d9fabc42e33981299d0b33eeeb7.tar.gz
samba-87a684f7fcfa8d9fabc42e33981299d0b33eeeb7.tar.bz2
samba-87a684f7fcfa8d9fabc42e33981299d0b33eeeb7.zip
Remove redundant parameter fd from SMB_VFS_FSTAT().
Michael (This used to be commit 0b86c420be94d295f6917a220b5d699f65b46711)
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r--source3/include/vfs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index 4f4e30b614..f4422e4fa9 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -83,6 +83,8 @@
/* Leave at 22 - not yet released. Remove parameter fd from pwrite. - obnox */
/* 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 */
+
#define SMB_VFS_INTERFACE_VERSION 22
@@ -282,7 +284,7 @@ struct vfs_ops {
int (*rename)(struct vfs_handle_struct *handle, const char *oldname, const char *newname);
int (*fsync)(struct vfs_handle_struct *handle, struct files_struct *fsp);
int (*stat)(struct vfs_handle_struct *handle, const char *fname, SMB_STRUCT_STAT *sbuf);
- int (*fstat)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, SMB_STRUCT_STAT *sbuf);
+ int (*fstat)(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_STRUCT_STAT *sbuf);
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);