summaryrefslogtreecommitdiff
path: root/src/home/homework.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-10-25 21:33:08 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-28 08:17:46 +0200
commitf7800049ebe83921180bca2a4ba80d0638348383 (patch)
tree15e95ed6304d4ecb5a83b530b34c22e0d3b0ff11 /src/home/homework.h
parentfc032ae197b04c151558ec7234025a58ca1ef165 (diff)
downloadsystemd-f7800049ebe83921180bca2a4ba80d0638348383.tar.gz
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.
Diffstat (limited to 'src/home/homework.h')
-rw-r--r--src/home/homework.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/home/homework.h b/src/home/homework.h
index 1b56fbbd8f..fe8cbb4635 100644
--- a/src/home/homework.h
+++ b/src/home/homework.h
@@ -76,6 +76,7 @@ typedef enum HomeSetupFlags {
int home_setup_done(HomeSetup *setup);
int home_setup_undo_mount(HomeSetup *setup, int level);
+int home_setup_undo_dm(HomeSetup *setup, int level);
int home_setup(UserRecord *h, HomeSetupFlags flags, PasswordCache *cache, HomeSetup *setup, UserRecord **ret_header_home);