summaryrefslogtreecommitdiff
path: root/src/home/homework-directory.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-10-20 21:45:51 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-27 17:37:14 +0200
commite1aeaf27f5d537283e6cacd1bb5d2d9fa0860dab (patch)
treeb58dc0feeefd554943496b706c55362505672b93 /src/home/homework-directory.h
parentf509ed4b61d414e031459f190e33d32a1e40d80d (diff)
downloadsystemd-e1aeaf27f5d537283e6cacd1bb5d2d9fa0860dab.tar.gz
homework: port home_create_directory_or_subvolume() to use HomeSetup
Let's migrate home_create_directory_or_subvolume() to also use HomeSetup for storing its runtime objects we'd like to destroy in case of failure. In the beginning this is just the root_fd, but later on we can add more. No change in behaviour, just shifting things around.
Diffstat (limited to 'src/home/homework-directory.h')
-rw-r--r--src/home/homework-directory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homework-directory.h b/src/home/homework-directory.h
index 98b1804774..92cc755546 100644
--- a/src/home/homework-directory.h
+++ b/src/home/homework-directory.h
@@ -6,5 +6,5 @@
int home_setup_directory(UserRecord *h, HomeSetup *setup);
int home_activate_directory(UserRecord *h, HomeSetup *setup, PasswordCache *cache, UserRecord **ret_home);
-int home_create_directory_or_subvolume(UserRecord *h, UserRecord **ret_home);
+int home_create_directory_or_subvolume(UserRecord *h, HomeSetup *setup, UserRecord **ret_home);
int home_resize_directory(UserRecord *h, HomeSetupFlags flags, PasswordCache *cache, HomeSetup *setup, UserRecord **ret_home);