diff options
author | Kirk McKusick <mckusick@FreeBSD.org> | 1998-12-05 06:12:14 +0000 |
---|---|---|
committer | Kirk McKusick <mckusick@FreeBSD.org> | 1998-12-05 06:12:14 +0000 |
commit | fcdfed00d57f745bdca5f6f2036c8da4155b58cc (patch) | |
tree | b004e2acc28a1906537f672a4f848c0a3eea8c15 | |
parent | dadea2fa260e72052c4025407836188ca8dae9d2 (diff) |
Notes
-rw-r--r-- | sys/kern/vfs_cluster.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 7632fa0c1e397..1e4d7b87fd636 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -33,7 +33,7 @@ * SUCH DAMAGE. * * @(#)vfs_cluster.c 8.7 (Berkeley) 2/13/94 - * $Id: vfs_cluster.c,v 1.73 1998/11/15 14:11:06 bde Exp $ + * $Id: vfs_cluster.c,v 1.74 1998/11/17 00:31:12 mckusick Exp $ */ #include "opt_debug_cluster.h" @@ -839,7 +839,10 @@ cluster_collectbufs(vp, last_bp) VOP_BMAP(bp->b_vp, bp->b_lblkno, NULL, &bp->b_blkno, NULL, NULL); } - buflist->bs_children[i] = last_bp; + buflist->bs_children[i] = bp = last_bp; + if (bp->b_blkno == bp->b_lblkno) + VOP_BMAP(bp->b_vp, bp->b_lblkno, NULL, &bp->b_blkno, + NULL, NULL); buflist->bs_nchildren = i + 1; return (buflist); } |