diff options
author | jeff <jeff@FreeBSD.org> | 2003-03-17 18:38:49 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-03-17 18:38:49 +0000 |
commit | c0f79e52d65c1f88eafe0bcf21039387b1b29497 (patch) | |
tree | 5dd8467a599278d5f6d46fbf9bc79b6b4249c249 /sys | |
parent | 279c48578e1ee3820f9598b1f7cf8054f0ef11b1 (diff) | |
download | FreeBSD-src-c0f79e52d65c1f88eafe0bcf21039387b1b29497.zip FreeBSD-src-c0f79e52d65c1f88eafe0bcf21039387b1b29497.tar.gz |
- 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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 54a33f1..0a1c3c1 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -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; } |