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 | edd30e716fb5133b269ef82358e95d187a107870 (patch) | |
tree | e6697e60ec79a68b7a3761018a158aa749e9deea /source3/modules/vfs_default.c | |
parent | 299d24dbc1d2d8eb0b78800eb5a8643b10c80274 (diff) | |
download | samba-edd30e716fb5133b269ef82358e95d187a107870.tar.gz samba-edd30e716fb5133b269ef82358e95d187a107870.tar.xz samba-edd30e716fb5133b269ef82358e95d187a107870.zip |
Remove redundant parameter fd from SMB_VFS_LOCK().
Michael
(This used to be commit 4f3ab2c406072e0b43581057e7e785e8ad454cfa)
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r-- | source3/modules/vfs_default.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 4505695915..0076f8d1b4 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -801,12 +801,12 @@ static int vfswrap_ftruncate(vfs_handle_struct *handle, files_struct *fsp, SMB_O return result; } -static bool vfswrap_lock(vfs_handle_struct *handle, files_struct *fsp, int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type) +static bool vfswrap_lock(vfs_handle_struct *handle, files_struct *fsp, int op, SMB_OFF_T offset, SMB_OFF_T count, int type) { bool result; START_PROFILE(syscall_fcntl_lock); - result = fcntl_lock(fd, op, offset, count, type); + result = fcntl_lock(fsp->fh->fd, op, offset, count, type); END_PROFILE(syscall_fcntl_lock); return result; } |