summaryrefslogtreecommitdiff
path: root/src/home/homed-home.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-06-21 22:54:12 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-06-24 10:05:22 +0200
commit6a818c3cb4cba768dc42efa84db2fbd938f5def0 (patch)
treedeeb8ffe7151f9445aaf703e9efc596d59a7040c /src/home/homed-home.c
parent37350b81b5ce7c94636ea637a84af479132b6726 (diff)
downloadsystemd-6a818c3cb4cba768dc42efa84db2fbd938f5def0.tar.gz
basic: move acquire_data_fd() and fd_duplicate_data_fd() to new data-fd-util.c
fd_duplicate_data_fd() is renamed to copy_data_fd(). This makes the two functions have nicely similar names. Now fd-util.[ch] is again about low-level file descriptor manipulations. copy_data_fd() is a complex function that internally wraps the other functions in copy.c. I want to move copy.c and the whole cluster of related code from basic/ to shared/ later on, and this is a preparatory step for that.
Diffstat (limited to 'src/home/homed-home.c')
-rw-r--r--src/home/homed-home.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/home/homed-home.c b/src/home/homed-home.c
index 39dd501a32..104427dabe 100644
--- a/src/home/homed-home.c
+++ b/src/home/homed-home.c
@@ -11,6 +11,7 @@
#include "blockdev-util.h"
#include "btrfs-util.h"
#include "bus-common-errors.h"
+#include "data-fd-util.h"
#include "env-util.h"
#include "errno-list.h"
#include "errno-util.h"