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
/
include
/
vfs.h
diff --git
a/source/include/vfs.h
b/source/include/vfs.h
index a09991a0e7368c2ca8bc0dbead561c583cc9249c..1b4e57f2ac14d98ee09adfce1057f4e4cb7e869e 100644
(file)
--- a/
source/include/vfs.h
+++ b/
source/include/vfs.h
@@
-137,6
+137,7
@@
struct vfs_ops {
int (*chmod)(char *path, mode_t mode);
int (*utime)(char *path, struct utimbuf *times);
int (*ftruncate)(int fd, SMB_OFF_T offset);
+ BOOL (*lock)(int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type);
};
struct vfs_options {