badblocks: Remove 4096 blocksize limit

There is no need to prohibit the use of block sizes larger than 4k in
the badblocks program.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
bitmap-optimize
Theodore Ts'o 2009-06-02 09:31:24 -04:00
parent 1384cc64b5
commit 3b5126de44
1 changed files with 0 additions and 5 deletions

View File

@ -1010,11 +1010,6 @@ int main (int argc, char ** argv)
switch (c) {
case 'b':
block_size = parse_uint(optarg, "block size");
if (block_size > 4096) {
com_err (program_name, 0,
_("bad block size - %s"), optarg);
exit (1);
}
break;
case 'f':
force++;