From a204f7f38dd2bee28f14b3d0ddb5ec23477fd448 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 23 Sep 1994 21:50:43 +0000 Subject: Formerly hyper.c.~12~ --- ufs/hyper.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ufs/hyper.c') diff --git a/ufs/hyper.c b/ufs/hyper.c index a59637fb..e63e9eff 100644 --- a/ufs/hyper.c +++ b/ufs/hyper.c @@ -16,7 +16,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "ufs.h" -#include "fs.h" #include "dinode.h" #include #include @@ -60,6 +59,10 @@ get_hypermetadata (void) exit (1); } + assert ((__vm_page_size % DEV_BSIZE) == 0); + assert ((sblock->fs_bsize % DEV_BSIZE) == 0); + assert (__vm_page_size <= sblock->fs_bsize); + /* If this is an old filesystem, then we have some more work to do; some crucial constants might not be set; we are therefore forced to set them here. */ -- cgit v1.2.3