]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mkfs.minix: remove unuseful code
authorSami Kerola <kerolasa@iki.fi>
Wed, 24 Jun 2015 08:15:11 +0000 (09:15 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 30 Jul 2015 09:39:13 +0000 (11:39 +0200)
commit3bb74a3ada4f3afcad2e33db238e12c592e0d400
tree78f4a8940b82e28684ee4c69a6f6043d49df50e3
parentc99128bcf5eb183f70c717d67a3c259af82b910b
mkfs.minix: remove unuseful code

Checks about inodes vs block sizes does not add much robustness.  Both
values are derived at compilation time from struct minix_inode size, and
they form full definition circle.

Bad block check for none-block devices should not be supressed, user
requested it so let him have it.

Check for st_rdev == 0x0300 || st_rdev == 0x0340 was unreachable.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
disk-utils/mkfs.minix.c