summaryrefslogtreecommitdiffstats
path: root/source3/include/vfs.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 09:23:04 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 15:59:01 +0100
commita56b417809805f8872c1e3238cce5d006d6189e4 (patch)
tree48237bfcc63171112e5cc3ca56c3662ecb898690 /source3/include/vfs.h
parentcab9aa525dbbf4ba65acb43763298bfb30d4fca4 (diff)
downloadsamba-a56b417809805f8872c1e3238cce5d006d6189e4.tar.gz
samba-a56b417809805f8872c1e3238cce5d006d6189e4.tar.xz
samba-a56b417809805f8872c1e3238cce5d006d6189e4.zip
Remove redundant parameter fd from SMB_VFS_PWRITE().
Michael (This used to be commit 8c4901a19ae2fd3ee085f9499f33aa7db016d182)
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 88cf59c0289..6f3232cbf91 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -80,6 +80,7 @@
/* Leave at 22 - not yet released. Remove parameter fd from fget_nt_acl. - obnox */
/* Leave at 22 - not yet released. Remove parameter fd from gset_nt_acl. - obnox */
/* Leave at 22 - not yet released. Remove parameter fd from pread. - obnox */
+/* Leave at 22 - not yet released. Remove parameter fd from pwrite. - obnox */
#define SMB_VFS_INTERFACE_VERSION 22
@@ -272,7 +273,7 @@ struct vfs_ops {
ssize_t (*read)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, 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 (*pwrite)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, const void *data, size_t n, SMB_OFF_T offset);
+ 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, int fd, 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);
ssize_t (*recvfile)(struct vfs_handle_struct *handle, int fromfd, files_struct *fsp, int tofd, SMB_OFF_T offset, size_t count);