r15018: Merge Volker's ipc/trans2/nttrans changes over
[jra/samba/.git] / source3 / smbd / vfs-wrap.c
index bbb7b5bb3086681636a8fe877a326439210f7fb0..55bf146c20fe1b21191e9887190d60cc10096b95 100644 (file)
@@ -759,11 +759,21 @@ BOOL vfswrap_lock(vfs_handle_struct *handle, files_struct *fsp, int fd, int op,
        BOOL result;
 
        START_PROFILE(syscall_fcntl_lock);
-       result =  fcntl_lock(fd, op, offset, count,type);
+       result =  fcntl_lock(fd, op, offset, count, type);
        END_PROFILE(syscall_fcntl_lock);
        return result;
 }
 
+BOOL vfswrap_getlock(vfs_handle_struct *handle, files_struct *fsp, int fd, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid)
+{
+       BOOL result;
+
+       START_PROFILE(syscall_fcntl_getlock);
+       result =  fcntl_getlock(fd, poffset, pcount, ptype, ppid);
+       END_PROFILE(syscall_fcntl_getlock);
+       return result;
+}
+
 int vfswrap_symlink(vfs_handle_struct *handle, connection_struct *conn, const char *oldpath, const char *newpath)
 {
        int result;