Initialize 'blocked' to NULL. I think this was a real problem, but I
am not sure about that. The lack of -Werror and the inline noise hid this for a while.
This commit is contained in:
parent
8b30546120
commit
80611144e4
@ -266,6 +266,7 @@ _umtx_unlock(struct thread *td, struct _umtx_unlock_args *uap)
|
||||
|
||||
/* We should only ever be in here for contested locks */
|
||||
KASSERT((owner & UMTX_CONTESTED) != 0, ("contested umtx is not."));
|
||||
blocked = NULL;
|
||||
|
||||
/*
|
||||
* When unlocking the umtx, it must be marked as unowned if
|
||||
|
Loading…
x
Reference in New Issue
Block a user