svn commit: samba r22094 - in branches/SAMBA_3_0/source/modules: .
jpeach at samba.org
jpeach at samba.org
Thu Apr 5 19:49:29 GMT 2007
Author: jpeach
Date: 2007-04-05 19:49:29 +0000 (Thu, 05 Apr 2007)
New Revision: 22094
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22094
Log:
Clarify that SMB_VFS_LOCK should not be used to get lock status.
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-04-05 12:36:10 UTC (rev 22093)
+++ branches/SAMBA_3_0/source/modules/vfs_default.c 2007-04-05 19:49:29 UTC (rev 22094)
@@ -781,6 +781,9 @@
{
BOOL result;
+ /* 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);
More information about the samba-cvs
mailing list