summaryrefslogtreecommitdiffstats
path: root/source/include/vfs.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 00:14:19 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 00:14:19 +0100
commit73e28806ce87d829ea7c38ed3440020845bb13bf (patch)
tree2a0cf04d8449a7c4ad60f874157f235a1f39cff1 /source/include/vfs.h
parent4f2d139a186048f08180378a877b69d2f80ad51f (diff)
downloadsamba-73e28806ce87d829ea7c38ed3440020845bb13bf.tar.gz
samba-73e28806ce87d829ea7c38ed3440020845bb13bf.tar.xz
samba-73e28806ce87d829ea7c38ed3440020845bb13bf.zip
Remove unneeded parameter fd from SMB_VFS_PREAD().
Michael
Diffstat (limited to 'source/include/vfs.h')
-rw-r--r--source/include/vfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/include/vfs.h b/source/include/vfs.h
index 038da297ab1..88cf59c0289 100644
--- a/source/include/vfs.h
+++ b/source/include/vfs.h
@@ -79,6 +79,7 @@
* files_struct. - obnox.*/
/* 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 */
#define SMB_VFS_INTERFACE_VERSION 22
@@ -269,7 +270,7 @@ struct vfs_ops {
int (*open)(struct vfs_handle_struct *handle, const char *fname, files_struct *fsp, int flags, mode_t mode);
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, int fd, void *data, size_t n);
- ssize_t (*pread)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, void *data, size_t n, SMB_OFF_T offset);
+ 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);
SMB_OFF_T (*lseek)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, SMB_OFF_T offset, int whence);