summaryrefslogtreecommitdiffstats
path: root/src/home/homework-luks.c
diff options
context:
space:
mode:
authorAdrian Vovk <adrianvovk@gmail.com>2024-01-09 20:49:53 +0100
committerAdrian Vovk <adrianvovk@gmail.com>2024-01-18 23:54:45 +0100
commit285ad523024c08306073ca1708f793383ffbc9ca (patch)
tree79d7582bd891c4cd4646614e504f5f4cb3369d0e /src/home/homework-luks.c
parentMerge pull request #30988 from bluca/dbus_docs (diff)
downloadsystemd-285ad523024c08306073ca1708f793383ffbc9ca.tar.xz
systemd-285ad523024c08306073ca1708f793383ffbc9ca.zip
homework: Cleanup home_store_embedded_identity
This function took an extra argument that it never used. This commit cleans that up
Diffstat (limited to 'src/home/homework-luks.c')
-rw-r--r--src/home/homework-luks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/home/homework-luks.c b/src/home/homework-luks.c
index 57016fb14b..a66ebb6ca5 100644
--- a/src/home/homework-luks.c
+++ b/src/home/homework-luks.c
@@ -3445,7 +3445,7 @@ int home_resize_luks(
/* → Shrink */
if (!FLAGS_SET(flags, HOME_SETUP_RESIZE_DONT_SYNC_IDENTITIES)) {
- r = home_store_embedded_identity(new_home, setup->root_fd, h->uid, embedded_home);
+ r = home_store_embedded_identity(new_home, setup->root_fd, embedded_home);
if (r < 0)
return r;
}
@@ -3533,7 +3533,7 @@ int home_resize_luks(
} else { /* → Grow */
if (!FLAGS_SET(flags, HOME_SETUP_RESIZE_DONT_SYNC_IDENTITIES)) {
- r = home_store_embedded_identity(new_home, setup->root_fd, h->uid, embedded_home);
+ r = home_store_embedded_identity(new_home, setup->root_fd, embedded_home);
if (r < 0)
return r;
}