homework: when activating a directory, include info about it in resulting record

For the other backends we synthesize a "binding" section in the json
record of the user that stores meta info how a user record is "bound" to
the local host. It declares storage info and such. Let's do the same for
the directory/subvolume backends.
This commit is contained in:
Lennart Poettering
2021-10-27 17:37:14 +02:00
parent e1aeaf27f5
commit cfef46f5fe
+4
View File
@@ -53,6 +53,10 @@ int home_activate_directory(
if (r < 0)
return r;
r = home_extend_embedded_identity(new_home, h, setup);
if (r < 0)
return r;
setup->root_fd = safe_close(setup->root_fd);
/* Create mount point to mount over if necessary */