summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 21:16:26 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:56 +0100
commitf4f15635ec05293ffcc83a5b39f624bbabbd8fd0 (patch)
treea71082ce77e66b48a01a4386e8f36985cc27d3d2 /src/shared
parentc8b3094de58e3b1e37d06f3d56c9346cffbe320a (diff)
util-lib: move a number of fs operations into fs-util.[ch]
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/conf-parser.c1
-rw-r--r--src/shared/install.c1
-rw-r--r--src/shared/machine-image.c1
-rw-r--r--src/shared/machine-pool.c3
4 files changed, 5 insertions, 1 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c
index 8bb33add72..4235e95d92 100644
--- a/src/shared/conf-parser.c
+++ b/src/shared/conf-parser.c
@@ -29,6 +29,7 @@
#include "conf-files.h"
#include "conf-parser.h"
#include "fd-util.h"
+#include "fs-util.h"
#include "log.h"
#include "macro.h"
#include "parse-util.h"
diff --git a/src/shared/install.c b/src/shared/install.c
index bfafb59008..454fe79aa1 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -29,6 +29,7 @@
#include "conf-parser.h"
#include "dirent-util.h"
#include "fd-util.h"
+#include "fs-util.h"
#include "hashmap.h"
#include "install-printf.h"
#include "install.h"
diff --git a/src/shared/machine-image.c b/src/shared/machine-image.c
index c5444ee010..3f12a67b54 100644
--- a/src/shared/machine-image.c
+++ b/src/shared/machine-image.c
@@ -28,6 +28,7 @@
#include "copy.h"
#include "dirent-util.h"
#include "fd-util.h"
+#include "fs-util.h"
#include "machine-image.h"
#include "mkdir.h"
#include "path-util.h"
diff --git a/src/shared/machine-pool.c b/src/shared/machine-pool.c
index 9270f22479..6be1b7b264 100644
--- a/src/shared/machine-pool.c
+++ b/src/shared/machine-pool.c
@@ -27,16 +27,17 @@
#include "btrfs-util.h"
#include "fd-util.h"
#include "fileio.h"
+#include "fs-util.h"
#include "lockfile-util.h"
#include "machine-pool.h"
#include "mkdir.h"
+#include "mount-util.h"
#include "parse-util.h"
#include "path-util.h"
#include "process-util.h"
#include "signal-util.h"
#include "string-util.h"
#include "util.h"
-#include "mount-util.h"
#define VAR_LIB_MACHINES_SIZE_START (1024UL*1024UL*500UL)
#define VAR_LIB_MACHINES_FREE_MIN (1024UL*1024UL*750UL)