git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8abf9f3
)
r22907: Fix the build with --enable-profiling-data
author
Volker Lendecke
<vlendec@samba.org>
Tue, 15 May 2007 14:58:01 +0000
(14:58 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:22:06 +0000
(12:22 -0500)
source/modules/vfs_default.c
patch
|
blob
|
history
diff --git
a/source/modules/vfs_default.c
b/source/modules/vfs_default.c
index 6410e7aad5f320246dc702ba532f54f54a85cbe9..1fc03e046f0f9f00cc20f674aa3e5201fb4a33fc 100644
(file)
--- a/
source/modules/vfs_default.c
+++ b/
source/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;