mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
- Don't bump the count twice in the LK_DRAIN case.
Sponsored by: Isilon Systems, Inc.
This commit is contained in:
parent
b0685bb184
commit
bf5c2a1940
1 changed files with 0 additions and 2 deletions
|
|
@ -466,8 +466,6 @@ debuglockmgr(lkp, flags, interlkp, td, name, file, line)
|
|||
lkp->lk_lockholder = thr;
|
||||
lkp->lk_exclusivecount = 1;
|
||||
COUNT(td, 1);
|
||||
if (td != NULL)
|
||||
td->td_locks++;
|
||||
#if defined(DEBUG_LOCKS)
|
||||
lkp->lk_filename = file;
|
||||
lkp->lk_lineno = line;
|
||||
|
|
|
|||
Loading…
Reference in a new issue