Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1384cc6
)
badblocks: Remove 4096 blocksize limit
author
Theodore Ts'o
<tytso@mit.edu>
Tue, 2 Jun 2009 13:31:24 +0000
(09:31 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 2 Jun 2009 13:31:24 +0000
(09:31 -0400)
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>
misc/badblocks.c
patch
|
blob
|
history
diff --git
a/misc/badblocks.c
b/misc/badblocks.c
index
528bc22
..
6e9c939
100644
(file)
--- 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++;