- Unlock the target bp and not the pager buf bp in a failure case in

cluster_wbuild().  This was causing strange panics that were widely
   reported on current@.

Big Pointy Hat to:	jeff
This commit is contained in:
Jeff Roberson 2003-03-17 18:38:49 +00:00
parent cab2362883
commit 5d952c1b59

View File

@ -870,7 +870,7 @@ cluster_wbuild(vp, size, start_lbn, len)
(bp->b_flags & (B_VMIO | B_NEEDCOMMIT))) ||
(tbp->b_flags & B_LOCKED) ||
tbp->b_wcred != bp->b_wcred) {
BUF_UNLOCK(bp);
BUF_UNLOCK(tbp);
splx(s);
break;
}