git.samba.org
/
jra
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Moved uglyness needed in fcntl locking (64->32 bit mapping, NFS
[jra/samba/.git]
/
source
/
smbd
/
vfs-wrap.c
diff --git
a/source/smbd/vfs-wrap.c
b/source/smbd/vfs-wrap.c
index a3dd7520236aadc2c7d09ace17a41ce73e3e8678..5db1689450027055620c0a2a410efb9aa04742ba 100644
(file)
--- a/
source/smbd/vfs-wrap.c
+++ b/
source/smbd/vfs-wrap.c
@@
-305,3
+305,8
@@
int vfswrap_ftruncate(int fd, SMB_OFF_T offset)
result = sys_ftruncate(fd, offset);
return result;
}
+
+BOOL vfswrap_lock(int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type)
+{
+ return fcntl_lock(fd, op, offset, count,type);
+}