summaryrefslogtreecommitdiff
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-10-05 15:12:27 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-05 16:14:37 +0200
commitf435195925ccdf96cf8413898f9b9590f8b5f760 (patch)
tree3f137e5e8630c5830238cfee4637f553b081e668 /src/tmpfiles
parent9e5fd717994a4935490a0a0b04599d0ccbc66855 (diff)
downloadsystemd-f435195925ccdf96cf8413898f9b9590f8b5f760.tar.gz
basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch]
Diffstat (limited to 'src/tmpfiles')
-rw-r--r--src/tmpfiles/offline-passwd.c2
-rw-r--r--src/tmpfiles/tmpfiles.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/tmpfiles/offline-passwd.c b/src/tmpfiles/offline-passwd.c
index b607aacf57..8ba3fea984 100644
--- a/src/tmpfiles/offline-passwd.c
+++ b/src/tmpfiles/offline-passwd.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#include "chase-symlinks.h"
#include "fd-util.h"
-#include "fs-util.h"
#include "offline-passwd.h"
#include "path-util.h"
#include "user-util.h"
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 8a02e6c9dd..6b2f75e248 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -21,6 +21,7 @@
#include "alloc-util.h"
#include "btrfs-util.h"
#include "capability-util.h"
+#include "chase-symlinks.h"
#include "chattr-util.h"
#include "conf-files.h"
#include "copy.h"