- Pass BO_MTX(bo) to lockmgr in vtruncbuf, we don't own the vnode

interlock here anymore.

Reported by:	kris
This commit is contained in:
jeff 2008-03-23 01:42:19 +00:00
parent c184f6ced2
commit 73b6a5597c

View File

@ -1297,7 +1297,7 @@ restartsync:
*/
if (BUF_LOCK(bp,
LK_EXCLUSIVE | LK_SLEEPFAIL | LK_INTERLOCK,
VI_MTX(vp)) == ENOLCK) {
BO_MTX(bo)) == ENOLCK) {
goto restart;
}
VNASSERT((bp->b_flags & B_DELWRI), vp,