]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mkfs.minix: standardize superblock attribute settings
authorDavidlohr Bueso <dave@gnu.org>
Thu, 9 Jun 2011 16:01:09 +0000 (12:01 -0400)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Jun 2011 14:39:04 +0000 (16:39 +0200)
commit7a173d7f5c59a59297178b078ffffb566f986c19
tree0ec159019f24e3e4ed34c076c61701247c6cea97
parentaeefa8a4169f93d000cd0eca5dafb491eedd85f0
mkfs.minix: standardize superblock attribute settings

Because of the dependence of fs_version, some superblock attributes will vary,
so simplify the logic of assigning values to maxsize and the amount of zones
related to each filesystem, thus making setup_tables() more readable.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
disk-utils/mkfs.minix.c