diff options
author | Michael Adam <obnox@samba.org> | 2008-01-07 16:38:23 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-07 16:38:23 +0100 |
commit | 4f3ab2c406072e0b43581057e7e785e8ad454cfa (patch) | |
tree | 0af86a1ae4dc3af23b17e090059d85ec8a065c48 /examples/VFS/skel_transparent.c | |
parent | 20691272a1e2562ab8c6143978d324af0334f871 (diff) | |
download | samba-4f3ab2c406072e0b43581057e7e785e8ad454cfa.tar.gz |
Remove redundant parameter fd from SMB_VFS_LOCK().
Michael
Diffstat (limited to 'examples/VFS/skel_transparent.c')
-rw-r--r-- | examples/VFS/skel_transparent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 5d3103ee76e..37570b8ab0d 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -234,9 +234,9 @@ static int skel_ftruncate(vfs_handle_struct *handle, files_struct *fsp, SMB_OFF_ return SMB_VFS_NEXT_FTRUNCATE(handle, fsp, offset); } -static bool skel_lock(vfs_handle_struct *handle, files_struct *fsp, int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type) +static bool skel_lock(vfs_handle_struct *handle, files_struct *fsp, int op, SMB_OFF_T offset, SMB_OFF_T count, int type) { - return SMB_VFS_NEXT_LOCK(handle, fsp, fd, op, offset, count, type); + return SMB_VFS_NEXT_LOCK(handle, fsp, op, offset, count, type); } static bool skel_getlock(vfs_handle_struct *handle, files_struct *fsp, int fd, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid) |