OSDN Git Service

fsimext2.c (set_mkfs_options): If the hard sector size is 1024,
authorTheodore Ts'o <tytso@mit.edu>
Fri, 8 Nov 2002 19:01:07 +0000 (14:01 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 8 Nov 2002 19:01:07 +0000 (14:01 -0500)
don't force a blocksize of 1024; there's no need to do so.

lib/evms/ChangeLog
lib/evms/fsimext2.c

index 7eceb83..a74a8d5 100644 (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
index 27a7f4f..a3660ff 100644 (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++;