diff options
author | jeff <jeff@FreeBSD.org> | 2005-03-28 12:52:10 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-03-28 12:52:10 +0000 |
commit | 2ed686ac4dd5f9f324902040836c71a02166079f (patch) | |
tree | 2eae761aef15c5df947a94a3a6204e8541a995ab /sys/kern/kern_lock.c | |
parent | b751d4872e2afa95ba162b0bfcdb352437111337 (diff) | |
download | FreeBSD-src-2ed686ac4dd5f9f324902040836c71a02166079f.zip FreeBSD-src-2ed686ac4dd5f9f324902040836c71a02166079f.tar.gz |
- Don't bump the count twice in the LK_DRAIN case.
Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r-- | sys/kern/kern_lock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index 5e5fe0b..550538a 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -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; |