summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 17:14:20 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 17:14:20 +0100
commit327cc04da587fa54f28dafb00267fde79b858349 (patch)
tree9c9d6b6eea2c518560ff4023d12aec908c74a1f8 /source3/smbd
parentf6cac02f00da72885e8a6d0104d099d84ac0ff6e (diff)
downloadsamba-327cc04da587fa54f28dafb00267fde79b858349.tar.gz
samba-327cc04da587fa54f28dafb00267fde79b858349.tar.bz2
samba-327cc04da587fa54f28dafb00267fde79b858349.zip
Remove redundant parameter fd from SMB_VFS_KERNEL_FLOCK().
Michael (This used to be commit 195c519377c2fdc655e25760b52bc0694b8dda81)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index cc62e020da..b618092a32 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1764,7 +1764,7 @@ NTSTATUS open_file_ntcreate(connection_struct *conn,
the kernel refuses the operations then the kernel is wrong.
note that GPFS supports it as well - jmcd */
- ret_flock = SMB_VFS_KERNEL_FLOCK(fsp, fsp->fh->fd, share_access);
+ ret_flock = SMB_VFS_KERNEL_FLOCK(fsp, share_access);
if(ret_flock == -1 ){
TALLOC_FREE(lck);