Whamcloud - gitweb
e2scrub_all: fix "e2scurb_all -r"
authorTheodore Ts'o <tytso@mit.edu>
Thu, 11 Jul 2019 17:28:05 +0000 (13:28 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 11 Jul 2019 21:47:07 +0000 (17:47 -0400)
commit9b2c33f9daaecc593755fa6d45b6d910f8fe2f7b
tree87bf1218ffbc437611b90f76595a47bcba43ae99
parent71b499538b24738c8af985849f611bc7e4f56321
e2scrub_all: fix "e2scurb_all -r"

The e2scrub_all program was broken by commit c7d6525ecaab
("e2scrub_all: refactor device probe loop") so that it would use the
path of the snapshot volume instead of the base volume.  This caused
"e2scrub_all -r" to pass the wrong pathname to e2scrub, with the
result that e2scrub would abort with an error instead of removing the
snapshot volume.

Fixes: c7d6525ecaab ("e2scrub_all: refactor device probe loop")
Addresses-Debian-Bug: #931679
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
scrub/e2scrub_all.in