- 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:
parent
cab2362883
commit
5d952c1b59
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user