From: Volker Lendecke Date: Tue, 15 May 2007 14:58:01 +0000 (+0000) Subject: r22907: Fix the build with --enable-profiling-data X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~447 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd45e0ff738711f6e3ed49039dae8245fd0a22d1;p=thirdparty%2Fsamba.git r22907: Fix the build with --enable-profiling-data --- diff --git a/source/modules/vfs_default.c b/source/modules/vfs_default.c index 6410e7aad5f..1fc03e046f0 100644 --- 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;