summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_cluster.c
diff options
context:
space:
mode:
authorJohn Dyson <dyson@FreeBSD.org>1995-11-20 03:55:48 +0000
committerJohn Dyson <dyson@FreeBSD.org>1995-11-20 03:55:48 +0000
commit10c8eaff6797eefaf24ce67fb38559c1085d3203 (patch)
treed79220a2ee9704a3597e362f0cb089326605e38f /sys/kern/vfs_cluster.c
parentfb27490243e995f242d48a3640897aa342f7ede3 (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r--sys/kern/vfs_cluster.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index 708e4bcf441d..59666c6c5887 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.25 1995/11/19 19:54:19 dyson Exp $
+ * $Id: vfs_cluster.c,v 1.26 1995/11/19 20:42:25 dyson Exp $
*/
#include <sys/param.h>
@@ -366,13 +366,9 @@ cluster_rbuild(vp, filesize, lbn, blkno, size, run)
m = bogus_page;
}
if ((bp->b_npages == 0) ||
- (bp->b_bufsize & PAGE_MASK) == 0) {
+ (bp->b_pages[bp->b_npages] != m)) {
bp->b_pages[bp->b_npages] = m;
bp->b_npages++;
- } else {
- if ( tbp->b_npages > 1) {
- panic("cluster_rbuild: page unaligned filesystems not supported");
- }
}
}
bp->b_bcount += tbp->b_bcount;