summaryrefslogtreecommitdiff
path: root/ext2fs/ext2fs.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-06-19 01:30:30 +0000
committerMiles Bader <miles@gnu.org>1997-06-19 01:30:30 +0000
commit8de080afcb7e5848ca040d1a169d7e102ae24655 (patch)
tree53da0c5109868d62108b0a915a911103e8110871 /ext2fs/ext2fs.c
parent87ab7f2db7195920d6bea20bb5cfd4d287a457dc (diff)
(main):
Get rid of device-block-size-is-power-of-2 check.
Diffstat (limited to 'ext2fs/ext2fs.c')
-rw-r--r--ext2fs/ext2fs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c
index 5939de5d..17e7f080 100644
--- a/ext2fs/ext2fs.c
+++ b/ext2fs/ext2fs.c
@@ -1,6 +1,6 @@
/* Main entry point for the ext2 file system translator
- Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
Converted for ext2fs by Miles Bader <miles@gnu.ai.mit.edu>
@@ -169,9 +169,6 @@ main (int argc, char **argv)
if (store->size < SBLOCK_OFFS + SBLOCK_SIZE)
ext2_panic ("superblock won't fit on the device!");
- if (store->log2_block_size == 0)
- ext2_panic ("device block size (%u) not a power of two",
- store->block_size);
if (store->log2_blocks_per_page < 0)
ext2_panic ("device block size (%u) greater than page size (%d)",
store->block_size, vm_page_size);