OSDN Git Service

mke2fs: allow setting the stride and stripe width to zero
authorTheodore Ts'o <tytso@mit.edu>
Tue, 5 Jul 2011 00:22:19 +0000 (20:22 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 5 Jul 2011 00:43:39 +0000 (20:43 -0400)
commit5b734a0e715ba6590624247b0866e4791f717981
tree5eae444e3886f57d52fd1848ad59230ec02e69b5
parent9a976ac732a7e9c3d9bf7ccb18190b93b588cb6d
mke2fs: allow setting the stride and stripe width to zero

Mke2fs previously would give an error if the user tried setting the
stride and stripe-width parameters to zero; but this is necessary to
override the stride and stripe-width settings which get automatically
set from the block device's geometry information in sysfs.  So allow
setting these parameters to zero.

Addresses-Google-Bug: #4988555

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c