From 7176f06c9efea4b86f3f55e448fc80e16d43e54b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 13 Apr 2022 15:38:21 +0200 Subject: 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. --- src/volatile-root/volatile-root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/volatile-root') diff --git a/src/volatile-root/volatile-root.c b/src/volatile-root/volatile-root.c index 90065b410b..aa16582d9e 100644 --- a/src/volatile-root/volatile-root.c +++ b/src/volatile-root/volatile-root.c @@ -5,13 +5,13 @@ #include "alloc-util.h" #include "blockdev-util.h" #include "chase-symlinks.h" +#include "devnum-util.h" #include "escape.h" #include "main-func.h" #include "mkdir.h" #include "mount-util.h" #include "mountpoint-util.h" #include "path-util.h" -#include "stat-util.h" #include "string-util.h" #include "volatile-util.h" -- cgit v1.2.1