mtx: fix whitespace damage in _mtx_trylock_flags_
MFC after: 3 days
This commit is contained in:
parent
0f78004261
commit
c7a6a1b325
@ -410,10 +410,10 @@ _mtx_trylock_flags_(volatile uintptr_t *c, int opts, const char *file, int line)
|
|||||||
if (v == tid &&
|
if (v == tid &&
|
||||||
((m->lock_object.lo_flags & LO_RECURSABLE) != 0 ||
|
((m->lock_object.lo_flags & LO_RECURSABLE) != 0 ||
|
||||||
(opts & MTX_RECURSE) != 0)) {
|
(opts & MTX_RECURSE) != 0)) {
|
||||||
m->mtx_recurse++;
|
m->mtx_recurse++;
|
||||||
atomic_set_ptr(&m->mtx_lock, MTX_RECURSED);
|
atomic_set_ptr(&m->mtx_lock, MTX_RECURSED);
|
||||||
recursed = true;
|
recursed = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
rval = 0;
|
rval = 0;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user