]> 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, 9 Jun 2025 20:55:18 +0000 (16:55 -0400)
commit8826d29f7b458a14e8a63964c2f2d7b4f0434179
tree1c8483c3e0624d5178f1ca956e18264761ffceb7
parent684da272a9ea2c9fbdd72f6b1dbe41e2b3e310c8
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>
(cherry picked from commit 3e059df08de94abde1ddd82008d0658584a35e5e)
misc/e2freefrag.c