summaryrefslogtreecommitdiffstats
path: root/src/nspawn/nspawn-mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-12 15:44:50 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-16 17:03:28 +0100
commit35cd0ba516fb0e2ee5744b9185f7df903962c726 (patch)
treeb2bd0411918b1c38b8b5997a6e5c17c2e5f3ddd8 /src/nspawn/nspawn-mount.c
parentmkdir: drop mkdir_errno_wrapper(), use mkdirat_errno_wrapper() instead (diff)
downloadsystemd-35cd0ba516fb0e2ee5744b9185f7df903962c726.tar.xz
systemd-35cd0ba516fb0e2ee5744b9185f7df903962c726.zip
shared: clean up mkdir.h/label.h situation
Previously the mkdir_label() family of calls was implemented in src/shared/mkdir-label.c but its functions partly declared ins src/shared/label.h and partly in src/basic/mkdir.h (!!). That's weird (and wrong). Let's clean this up, and add a proper mkdir-label.h matching the .c file.
Diffstat (limited to 'src/nspawn/nspawn-mount.c')
-rw-r--r--src/nspawn/nspawn-mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn-mount.c b/src/nspawn/nspawn-mount.c
index 2bfff79cde..40773d90c1 100644
--- a/src/nspawn/nspawn-mount.c
+++ b/src/nspawn/nspawn-mount.c
@@ -10,7 +10,7 @@
#include "format-util.h"
#include "fs-util.h"
#include "label.h"
-#include "mkdir.h"
+#include "mkdir-label.h"
#include "mount-util.h"
#include "mountpoint-util.h"
#include "nspawn-mount.h"