mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r15269: Fix incorrect boolean in assert to make POSIX lock tests
pass with CIFSFS. Jeremy.
This commit is contained in:
parent
3e616c3272
commit
89b604285e
@ -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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user