summaryrefslogtreecommitdiffstats
path: root/src/nspawn/nspawn-oci.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-04-13 15:38:21 +0200
committerLennart Poettering <lennart@poettering.net>2022-04-13 16:26:31 +0200
commit7176f06c9efea4b86f3f55e448fc80e16d43e54b (patch)
tree7143992013c291f643297d98ff003bf4bfbeaa1f /src/nspawn/nspawn-oci.c
parentMerge pull request #23065 from poettering/env-var-generator (diff)
downloadsystemd-7176f06c9efea4b86f3f55e448fc80e16d43e54b.tar.xz
systemd-7176f06c9efea4b86f3f55e448fc80e16d43e54b.zip
basic: split out dev_t related calls into new devno-util.[ch]
No actual code changes, just splitting out of some dev_t handling related calls from stat-util.[ch], they are quite a number already, and deserve their own module now I think. Also, try to settle on the name "devnum" as the name for the concept, instead of "devno" or "dev" or "devid". "devnum" is the name exported in udev APIs, hence probably best to stick to that. (this just renames a few symbols to "devum", local variables are left untouched, to make the patch not too invasive) No actual code changes.
Diffstat (limited to 'src/nspawn/nspawn-oci.c')
-rw-r--r--src/nspawn/nspawn-oci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn-oci.c b/src/nspawn/nspawn-oci.c
index 44564ba619..86c014d25e 100644
--- a/src/nspawn/nspawn-oci.c
+++ b/src/nspawn/nspawn-oci.c
@@ -8,6 +8,7 @@
#include "bus-util.h"
#include "cap-list.h"
#include "cpu-set-util.h"
+#include "devnum-util.h"
#include "env-util.h"
#include "format-util.h"
#include "fs-util.h"
@@ -20,7 +21,6 @@
#if HAVE_SECCOMP
#include "seccomp-util.h"
#endif
-#include "stat-util.h"
#include "stdio-util.h"
#include "string-util.h"
#include "strv.h"