homework: move all DM detachment/freeing into HomeSetup
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Oct 2021 19:33:08 +0000 (21:33 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Oct 2021 06:17:46 +0000 (08:17 +0200)
commitf7800049ebe83921180bca2a4ba80d0638348383
tree15e95ed6304d4ecb5a83b530b34c22e0d3b0ff11
parentfc032ae197b04c151558ec7234025a58ca1ef165
homework: move all DM detachment/freeing into HomeSetup

We actually already detach/free the LUKS DM devices for most operations
via HomeSetup, let's move the creation logic to also do this, in order
to unify behaviour between operations.
src/home/homework-luks.c
src/home/homework.c
src/home/homework.h