- Don't bump the count twice in the LK_DRAIN case.

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
Jeff Roberson 2005-03-28 12:52:10 +00:00
parent b0685bb184
commit bf5c2a1940

View File

@ -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;