From b759f7c09aebd56711888a75e7902d845c12b2e2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 15 May 2007 14:58:01 +0000 Subject: r22907: Fix the build with --enable-profiling-data (This used to be commit fd45e0ff738711f6e3ed49039dae8245fd0a22d1) --- source3/modules/vfs_default.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/modules') 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; -- cgit