fsimext2.c (set_mkfs_options): If the hard sector size is 1024,

don't force a blocksize of 1024; there's no need to do so.
bitmap-optimize
Theodore Ts'o 2002-11-08 14:01:07 -05:00
parent 420053aa65
commit 88888f159a
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2002-11-08 Theodore Ts'o <tytso@mit.edu>
* fsimext2.c (set_mkfs_options): If the hard sector size is 1024,
don't force a blocksize of 1024; there's no need to do so.
* fs_ext2.c (fs_setup): Synchronize with EVMS CVS rev 1.14
(2002/10/17): Changed function to correspond with EVMS ABI
1.2

View File

@ -179,10 +179,6 @@ void set_mkfs_options( option_array_t * options,
/* set block size */
if (volume->object->geometry.bytes_per_sector != EVMS_VSECTOR_SIZE) {
switch (volume->object->geometry.bytes_per_sector) {
case 1024:
argv[2] = "-b1024";
opt_count++;
break;
case 2048:
argv[2] = "-b2048";
opt_count++;