diff options
author | Maurizio Lombardi | 2011-11-21 20:00:48 +0100 |
---|---|---|
committer | Maurizio Lombardi | 2011-11-21 20:00:48 +0100 |
commit | a54d258f8cbb0c8b5de10231bc2f7ec8804940e3 (patch) | |
tree | 03884f4e95864db47959c791ef7adb193b2dc515 /disk-utils/mkfs.minix.c | |
parent | mkfs.minix: inode numbers are 32-bit wide in V3 filesystems (diff) | |
download | kernel-qcow2-util-linux-a54d258f8cbb0c8b5de10231bc2f7ec8804940e3.tar.gz kernel-qcow2-util-linux-a54d258f8cbb0c8b5de10231bc2f7ec8804940e3.tar.xz kernel-qcow2-util-linux-a54d258f8cbb0c8b5de10231bc2f7ec8804940e3.zip |
mkfs.minix: The s_blocksize field of the MinixV3 superblock must be
initialized with a valid block size, not the total number of blocks
of the device!
Diffstat (limited to 'disk-utils/mkfs.minix.c')
-rw-r--r-- | disk-utils/mkfs.minix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/mkfs.minix.c b/disk-utils/mkfs.minix.c index 502c42069..5817837ce 100644 --- a/disk-utils/mkfs.minix.c +++ b/disk-utils/mkfs.minix.c @@ -490,7 +490,7 @@ static void setup_tables(void) { if (fs_version == 3) { Super3.s_log_zone_size = 0; - Super3.s_blocksize = BLOCKS; + Super3.s_blocksize = MINIX_BLOCK_SIZE; } else { Super.s_log_zone_size = 0; |