summaryrefslogtreecommitdiff
path: root/source3/include/vfs.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-10 15:49:35 +0100
committerMichael Adam <obnox@samba.org>2008-01-10 15:49:35 +0100
commite9a3a62e7448bef72d9c17c90ff2b404082f067c (patch)
tree882a2c92c86ea112ece2611bd2b33d7b9662a4f2 /source3/include/vfs.h
parent1d66f4d58b5fdd9c4e0c022cd2724e05d144510b (diff)
downloadsamba-e9a3a62e7448bef72d9c17c90ff2b404082f067c.tar.gz
samba-e9a3a62e7448bef72d9c17c90ff2b404082f067c.tar.bz2
samba-e9a3a62e7448bef72d9c17c90ff2b404082f067c.zip
Remove redundant parameter fd from SMB_VFS_WRITE().
Michael (This used to be commit c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1)
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 3fc7156bf4..8aa8057982 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -100,6 +100,7 @@
/* Leave at 22 - not yet released. Remove parameter fd from fsetxattr. - obnox */
/* Leave at 22 - not yet released. Remove parameter fd from aio_cancel. - obnox */
/* Leave at 22 - not yet released. Remove parameter fd from read. - obnox */
+/* Leave at 22 - not yet released. Remove parameter fd from write. - obnox */
@@ -293,7 +294,7 @@ struct vfs_ops {
int (*close_fn)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd);
ssize_t (*read)(struct vfs_handle_struct *handle, struct files_struct *fsp, void *data, size_t n);
ssize_t (*pread)(struct vfs_handle_struct *handle, struct files_struct *fsp, void *data, size_t n, SMB_OFF_T offset);
- ssize_t (*write)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, const void *data, size_t n);
+ ssize_t (*write)(struct vfs_handle_struct *handle, struct files_struct *fsp, const void *data, size_t n);
ssize_t (*pwrite)(struct vfs_handle_struct *handle, struct files_struct *fsp, const void *data, size_t n, SMB_OFF_T offset);
SMB_OFF_T (*lseek)(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_OFF_T offset, int whence);
ssize_t (*sendfile)(struct vfs_handle_struct *handle, int tofd, files_struct *fsp, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count);