fix typo
This commit is contained in:
parent
e2bc106690
commit
59a31e6acf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168333
@ -273,7 +273,7 @@ _sx_sunlock(struct sx *sx, const char *file, int line)
|
||||
curthread->td_locks--;
|
||||
WITNESS_UNLOCK(&sx->lock_object, 0, file, line);
|
||||
LOCK_LOG_LOCK("SUNLOCK", &sx->lock_object, 0, 0, file, line);
|
||||
if (SX_SHARERS(x) == 0)
|
||||
if (SX_SHARERS(sx->sx_lock) == 0)
|
||||
lock_profile_release_lock(&sx->lock_object);
|
||||
__sx_sunlock(sx, file, line);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user