From 3b5126de44f8215ae572853415b0b3097cdfc6a2 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 2 Jun 2009 09:31:24 -0400 Subject: [PATCH] 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" --- misc/badblocks.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/misc/badblocks.c b/misc/badblocks.c index 528bc223..6e9c939e 100644 --- a/misc/badblocks.c +++ b/misc/badblocks.c @@ -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++;