summaryrefslogtreecommitdiff
path: root/source3/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
commitf7bf4cb3f17b5356b93c4ec89c300ad5dc20d2bc (patch)
tree53ca6f6d1ebbb7a9d3e3f9027cd8aac09e078910 /source3/include/vfs.h
parent26169410cd3fa90be5740a913f027802488eca8d (diff)
downloadsamba-f7bf4cb3f17b5356b93c4ec89c300ad5dc20d2bc.tar.gz
samba-f7bf4cb3f17b5356b93c4ec89c300ad5dc20d2bc.tar.bz2
samba-f7bf4cb3f17b5356b93c4ec89c300ad5dc20d2bc.zip
Remove redundant parameter fd from SMB_VFS_GETLOCK().
Michael (This used to be commit ee5a20becdcdb20d7012732b324c6938fab44f67)
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 921760c704..8fbf3ea373 100644
--- a/source3/include/vfs.h
+++ b/source3/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);