Whamcloud - gitweb
e2scrub_all: avoid scrubbing all devices when there is nothing to scrub
authorTheodore Ts'o <tytso@mit.edu>
Sun, 19 May 2019 03:04:49 +0000 (23:04 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 19 May 2019 03:43:55 +0000 (23:43 -0400)
commitfbb9bfa4a5925f8049ef51d8f59eb94920781ec8
tree01b18abad185199eefbfca136d59a0a489a29cf5
parent9d41a057d9643505942628c919869a7019646276
e2scrub_all: avoid scrubbing all devices when there is nothing to scrub

Running lsblk when there are no valid block devicse results in
generating all block devices as the list of devices to scrub; this
results in a lot of e2scrub_all failures.

Addresses-Debian-Bug: #929186

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
scrub/e2scrub_all.in