mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Reverse MFC of revision 1.5.2.7:
Remove a rather embarrassing race condition. Egged-on-by: alfred
This commit is contained in:
parent
14c457c23f
commit
1fa2fb7bf2
1 changed files with 0 additions and 2 deletions
|
|
@ -247,10 +247,8 @@ lockrange(daddr_t stripe, struct buf *bp, struct plex *plex)
|
|||
logrq(loginfo_lockwait, (union rqinfou) &info, bp);
|
||||
}
|
||||
#endif
|
||||
splx(s);
|
||||
tsleep((void *) lock->stripe, PRIBIO | PCATCH, "vrlock", 2 * hz);
|
||||
plex->lockwaits++; /* waited one more time */
|
||||
s = splbio();
|
||||
}
|
||||
break; /* out of the inner level loop */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue