1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

- 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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112347

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