Interesting fact found by IFSTEST /t LockOverlappedTest...
commitfb7a1848d17720a661910aaf7431807e820e0215
authorJeremy Allison <jra@samba.org>
Thu, 26 Feb 2004 01:30:56 +0000 (26 01:30 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 26 Feb 2004 01:30:56 +0000 (26 01:30 +0000)
tree57aee7346cccf3e0389d3a1effb8e2058c9ef1e4
parent41025e8d4f88eb024dbe4a130cf9eb0519b39158
Interesting fact found by IFSTEST /t LockOverlappedTest...
Even if it's our own lock context, we need to wait here as
there may be an unlock on the way.
So I removed a "&& !my_lock_ctx" from the following
if statement.

if ((lock_timeout != 0) && lp_blocking_locks(SNUM(conn)) && ERROR_WAS_LOCK_DENIED(status)) {

Jeremy.
(This used to be commit 17c88758ae82b20bc7260d5d927325f3f73ba33c)
source3/smbd/reply.c