Moved uglyness needed in fcntl locking (64->32 bit mapping, NFS
[jra/samba/.git] / source / include / vfs.h
index a09991a0e7368c2ca8bc0dbead561c583cc9249c..1b4e57f2ac14d98ee09adfce1057f4e4cb7e869e 100644 (file)
@@ -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 {