diff options
author | Michael Adam <obnox@samba.org> | 2008-01-07 17:14:20 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-07 17:14:20 +0100 |
commit | 327cc04da587fa54f28dafb00267fde79b858349 (patch) | |
tree | 9c9d6b6eea2c518560ff4023d12aec908c74a1f8 /source3/smbd | |
parent | f6cac02f00da72885e8a6d0104d099d84ac0ff6e (diff) | |
download | samba-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.c | 2 |
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); |