summaryrefslogtreecommitdiff
path: root/source3/include/vfs.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 21:47:53 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 21:47:56 +0100
commit26169410cd3fa90be5740a913f027802488eca8d (patch)
treec23d9767719a9048f31c81068a0ccf57988e7099 /source3/include/vfs.h
parentfa6d7b42f1c85004a7c7ece4822277e8e23f32f5 (diff)
downloadsamba-26169410cd3fa90be5740a913f027802488eca8d.tar.gz
samba-26169410cd3fa90be5740a913f027802488eca8d.tar.bz2
samba-26169410cd3fa90be5740a913f027802488eca8d.zip
Remove redundant parameter fd from SMB_VFS_LINUX_SETLEASE().
Michael (This used to be commit 8880eb82f16d561a4023ec8426f8ea35c579a7a6)
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r--source3/include/vfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index 3ca602cc09..921760c704 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -303,7 +303,7 @@ struct vfs_ops {
int (*ftruncate)(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_OFF_T offset);
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 fd, int leasetype);
+ 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);
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);