]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2scrub_all: correctly handle the case where LUKS is stacked on an LV
authorTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jul 2019 15:39:45 +0000 (11:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jul 2019 19:25:24 +0000 (15:25 -0400)
commit73c74fe26eed7ddd6341c71c47b068cd480684a4
tree6b9bc36c4e9df1b954bee4352a35e36a16f569e8
parent10c5c5e564206197384e794caca3baca6a970c63
e2scrub_all: correctly handle the case where LUKS is stacked on an LV

We handle the case where an LVM's PV is stacked on top of a dm-crypt
device, but not the case where it's the other way around, where a LVM
LV contains a LUKS encrypted file system.  Fix this oversight.

Addresses-Debian-Bug: #931387

Reported-by: Marc Haber <mh+debian-bugs@zugschlus.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
scrub/e2scrub_all.in