summaryrefslogtreecommitdiffstats
path: root/source/include/vfs.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 22:18:50 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 22:18:50 +0100
commitee5a20becdcdb20d7012732b324c6938fab44f67 (patch)
treed047a3a257e143cb187b97812279a600cd954507 /source/include/vfs.h
parent8880eb82f16d561a4023ec8426f8ea35c579a7a6 (diff)
downloadsamba-ee5a20becdcdb20d7012732b324c6938fab44f67.tar.gz
samba-ee5a20becdcdb20d7012732b324c6938fab44f67.tar.xz
samba-ee5a20becdcdb20d7012732b324c6938fab44f67.zip
Remove redundant parameter fd from SMB_VFS_GETLOCK().
Michael
Diffstat (limited to 'source/include/vfs.h')
-rw-r--r--source/include/vfs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/include/vfs.h b/source/include/vfs.h
index 921760c7047..8fbf3ea373d 100644
--- a/source/include/vfs.h
+++ b/source/include/vfs.h
@@ -89,6 +89,8 @@
/* Leave at 22 - not yet released. Remove parameter fd from ftruncate. - obnox */
/* Leave at 22 - not yet released. Remove parameter fd from lock. - obnox */
/* Leave at 22 - not yet released. Remove parameter fd from kernel_flock. - obnox */
+/* Leave at 22 - not yet released. Remove parameter fd from linux_setlease. - obnox */
+/* Leave at 22 - not yet released. Remove parameter fd from getlock. - obnox */
#define SMB_VFS_INTERFACE_VERSION 22
@@ -304,7 +306,7 @@ struct vfs_ops {
bool (*lock)(struct vfs_handle_struct *handle, struct files_struct *fsp, int op, SMB_OFF_T offset, SMB_OFF_T count, int type);
int (*kernel_flock)(struct vfs_handle_struct *handle, struct files_struct *fsp, uint32 share_mode);
int (*linux_setlease)(struct vfs_handle_struct *handle, struct files_struct *fsp, int leasetype);
- bool (*getlock)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid);
+ bool (*getlock)(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid);
int (*symlink)(struct vfs_handle_struct *handle, const char *oldpath, const char *newpath);
int (*readlink)(struct vfs_handle_struct *handle, const char *path, char *buf, size_t bufsiz);
int (*link)(struct vfs_handle_struct *handle, const char *oldpath, const char *newpath);