]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2scrub_all: allow scrubbing in vg's whose free space == snapshot size
authorTheodore Ts'o <tytso@mit.edu>
Sun, 18 Aug 2019 23:23:07 +0000 (19:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 18 Aug 2019 23:23:07 +0000 (19:23 -0400)
commit2e8cb3bebfd72c35922ddd5229fe0117b61ff19d
treebbc142351b9c2afd36740019aafbec4d0e8a2e89
parent420246cd8faea0ceecc3119989e1c045035010f3
e2scrub_all: allow scrubbing in vg's whose free space == snapshot size

If the volume group's free space is exactly the same as snapshot size,
e2scrub_all will skip those logical volumes in those volume groups.
Fix this by changing the test from '>' to '>='.

Fixes: c120312253 ("e2scrub_all: make sure there's enough free space...")
Addresses-Debian-Bug: #935009
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
scrub/e2scrub_all.in