]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2freefrag: require that the chunksize must be greater than 0
authorTheodore Ts'o <tytso@mit.edu>
Mon, 26 May 2025 16:36:07 +0000 (12:36 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 26 May 2025 16:36:07 +0000 (12:36 -0400)
commit3e059df08de94abde1ddd82008d0658584a35e5e
tree1e93da8c9911b195a9e9bac5376a90d98ba3965f
parent3a4bbc5cd5baff73d85306f6c4f18cf36d85636d
e2freefrag: require that the chunksize must be greater than 0

"e2freefrag -c 0" doesn't make much sense, so abort with an error
message if the user specifies a zero chunksize.

Addresses-Coverity-Bug: 1633767
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2freefrag.c