git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca61f4
)
r15269: Fix incorrect boolean in assert to make POSIX lock tests
author
Jeremy Allison
<jra@samba.org>
Wed, 26 Apr 2006 11:02:46 +0000
(11:02 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:16:31 +0000
(11:16 -0500)
pass with CIFSFS.
Jeremy.
(This used to be commit
89b604285ebe77b7cc2e0d5593117c0c5dc5ed1c
)
source3/locking/brlock.c
patch
|
blob
|
history
diff --git
a/source3/locking/brlock.c
b/source3/locking/brlock.c
index 0b7aeb1c0000f7e7b5d9cf078864750e01fd84b7..0233d60df6e5beb77c8239273394c5522e95a0c9 100644
(file)
--- 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++;