diff options
author | Abhidnya P Chirmule <achirmul@in.ibm.com> | 2009-10-06 17:14:56 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-10-06 18:52:06 +0200 |
commit | ac774c49691b08fa90121d5bd008618cfd4405e7 (patch) | |
tree | 0072e321869ed910c619d65ff57c0b59ee9956d6 /source3/smbd/open.c | |
parent | c344bf0184be484fff8bb5ed93b5c2ca6de58611 (diff) | |
download | samba-ac774c49691b08fa90121d5bd008618cfd4405e7.tar.gz samba-ac774c49691b08fa90121d5bd008618cfd4405e7.tar.xz samba-ac774c49691b08fa90121d5bd008618cfd4405e7.zip |
s3: Add access_mask to the flock VFS call
Diffstat (limited to 'source3/smbd/open.c')
-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 492164ceee..85b7d9106d 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -2091,7 +2091,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, note that GPFS supports it as well - jmcd */ if (fsp->fh->fd != -1) { - ret_flock = SMB_VFS_KERNEL_FLOCK(fsp, share_access); + ret_flock = SMB_VFS_KERNEL_FLOCK(fsp, share_access, access_mask); if(ret_flock == -1 ){ TALLOC_FREE(lck); |