summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-15 14:58:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:06 -0500
commitb759f7c09aebd56711888a75e7902d845c12b2e2 (patch)
treebcb3b96694c935955b80dd81a63d91d3a9bb9fc0 /source3
parent331041139f2389baab6ba28483121abc31c1a870 (diff)
downloadsamba-b759f7c09aebd56711888a75e7902d845c12b2e2.tar.gz
samba-b759f7c09aebd56711888a75e7902d845c12b2e2.tar.bz2
samba-b759f7c09aebd56711888a75e7902d845c12b2e2.zip
r22907: Fix the build with --enable-profiling-data
(This used to be commit fd45e0ff738711f6e3ed49039dae8245fd0a22d1)
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_default.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index 6410e7aad5..1fc03e046f 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -781,10 +781,11 @@ static BOOL vfswrap_lock(vfs_handle_struct *handle, files_struct *fsp, int fd, i
{
BOOL result;
+ START_PROFILE(syscall_fcntl_lock);
+
/* SMB_VFS_GETLOCK should be used to query lock status. */
SMB_ASSERT(op != SMB_F_GETLK);
- START_PROFILE(syscall_fcntl_lock);
result = fcntl_lock(fd, op, offset, count, type);
END_PROFILE(syscall_fcntl_lock);
return result;