svn commit: samba r16991 - in trunk/source/smbd: .
jra at samba.org
jra at samba.org
Wed Jul 12 19:13:04 GMT 2006
Author: jra
Date: 2006-07-12 19:13:03 +0000 (Wed, 12 Jul 2006)
New Revision: 16991
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16991
Log:
Fix bug #3921 spotted by jason at ncac.gwu.edu. Correctly
obey blocking/non-blocking request for POSIX locks.
Jeremy.
Modified:
trunk/source/smbd/trans2.c
Changeset:
Modified: trunk/source/smbd/trans2.c
===================================================================
--- trunk/source/smbd/trans2.c 2006-07-12 19:13:00 UTC (rev 16990)
+++ trunk/source/smbd/trans2.c 2006-07-12 19:13:03 UTC (rev 16991)
@@ -4567,7 +4567,7 @@
POSIX_LOCK,
&my_lock_ctx);
- if (lp_blocking_locks(SNUM(conn)) && ERROR_WAS_LOCK_DENIED(status)) {
+ if (lock_blocking && lp_blocking_locks(SNUM(conn)) && ERROR_WAS_LOCK_DENIED(status)) {
/*
* A blocking lock was requested. Package up
* this smb into a queued request and push it
More information about the samba-cvs
mailing list