diff options
Diffstat (limited to 'ufs/hyper.c')
-rw-r--r-- | ufs/hyper.c | 5 |
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. */ |