summaryrefslogtreecommitdiff
path: root/source3/modules/onefs_open.c
diff options
context:
space:
mode:
authorAbhidnya P Chirmule <achirmul@in.ibm.com>2009-10-06 17:14:56 +0200
committerVolker Lendecke <vl@samba.org>2009-10-06 18:52:06 +0200
commitac774c49691b08fa90121d5bd008618cfd4405e7 (patch)
tree0072e321869ed910c619d65ff57c0b59ee9956d6 /source3/modules/onefs_open.c
parentc344bf0184be484fff8bb5ed93b5c2ca6de58611 (diff)
downloadsamba-ac774c49691b08fa90121d5bd008618cfd4405e7.tar.gz
samba-ac774c49691b08fa90121d5bd008618cfd4405e7.tar.bz2
samba-ac774c49691b08fa90121d5bd008618cfd4405e7.zip
s3: Add access_mask to the flock VFS call
Diffstat (limited to 'source3/modules/onefs_open.c')
-rw-r--r--source3/modules/onefs_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/onefs_open.c b/source3/modules/onefs_open.c
index b9a2c30734..d90f165cd7 100644
--- a/source3/modules/onefs_open.c
+++ b/source3/modules/onefs_open.c
@@ -1253,7 +1253,7 @@ NTSTATUS onefs_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);