diff options
author | Jeremy Allison <jra@samba.org> | 2006-04-26 11:02:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:31 -0500 |
commit | f93da6d684312994a10827b36de7a72c7288ed7e (patch) | |
tree | f7e19f3a844f927386c39e9dd74e0be0a1b53598 /source3 | |
parent | 1ca61f4748283bdc9d30ddec3ec812fb830b6ac4 (diff) | |
download | samba-f93da6d684312994a10827b36de7a72c7288ed7e.tar.gz samba-f93da6d684312994a10827b36de7a72c7288ed7e.tar.bz2 samba-f93da6d684312994a10827b36de7a72c7288ed7e.zip |
r15269: Fix incorrect boolean in assert to make POSIX lock tests
pass with CIFSFS.
Jeremy.
(This used to be commit 89b604285ebe77b7cc2e0d5593117c0c5dc5ed1c)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/locking/brlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index 0b7aeb1c00..0233d60df6 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -907,7 +907,7 @@ static BOOL brl_unlock_posix(struct byte_range_lock *br_lck, const struct lock_s /* tmp_count == 3 - (we split a lock range in two). */ SMB_ASSERT(tmp_lock[0].lock_type == locks[i].lock_type); SMB_ASSERT(tmp_lock[1].lock_type == UNLOCK_LOCK); - SMB_ASSERT(tmp_lock[2].lock_type != locks[i].lock_type); + SMB_ASSERT(tmp_lock[2].lock_type == locks[i].lock_type); memcpy(&tp[count], &tmp_lock[0], sizeof(struct lock_struct)); count++; |