]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - misc/mke2fs.c
mke2fs, tune2fs: Do not allow the reserved_ratio to be negative
authorTheodore Ts'o <tytso@mit.edu>
Fri, 6 Mar 2009 07:23:59 +0000 (02:23 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 6 Mar 2009 07:25:06 +0000 (02:25 -0500)
commit8d8224550c1f5b5c77afbf5acd95f73979276a0a
tree2f260cb950c91677d821c8f98ad433d14c30f766
parentb7c5b4030870b31d73019d9d9ec55d550772590b
mke2fs, tune2fs: Do not allow the reserved_ratio to be negative

Add a check to make sure the argument to the -m option (which
specifies the reserved ratio) is greater than zero.

Addresses-Debian-Bug: #517015

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