summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-09-23 21:50:43 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-09-23 21:50:43 +0000
commita204f7f38dd2bee28f14b3d0ddb5ec23477fd448 (patch)
tree702d2b97e8fdd40d2511cfc92a81e0d5375514d7 /ufs
parent3f39cf3d955331c1b45a339a355721f366d0655c (diff)
Formerly hyper.c.~12~
Diffstat (limited to 'ufs')
-rw-r--r--ufs/hyper.c5
1 files changed, 4 insertions, 1 deletions
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 <string.h>
#include <stdio.h>
@@ -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. */