Author: vlendec
Date: 2007-05-15 14:58:01 +0000 (Tue, 15 May 2007)
New Revision: 22907

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22907

Log:
Fix the build with --enable-profiling-data

Modified:
   branches/SAMBA_3_0/source/modules/vfs_default.c


Changeset:
Modified: branches/SAMBA_3_0/source/modules/vfs_default.c
===================================================================
--- branches/SAMBA_3_0/source/modules/vfs_default.c     2007-05-15 14:39:18 UTC 
(rev 22906)
+++ branches/SAMBA_3_0/source/modules/vfs_default.c     2007-05-15 14:58:01 UTC 
(rev 22907)
@@ -781,10 +781,11 @@
 {
        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;

Reply via email to