diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-06 20:49:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-06 20:49:12 +0100 |
commit | e28039b2eba3abc6a74d24c226fb1cecfa6f7545 (patch) | |
tree | 9f873c7724d95f28b35d6b9b28915cefb04af55d /src/shared/machine-pool.c | |
parent | c8a65ef42da42bc2584162d273b64c66d76f4dae (diff) | |
parent | 22ebb9e4a9d8802b194eccc050552d0e188af489 (diff) |
Merge pull request #2107 from phomes/misc
Misc cleanups
Diffstat (limited to 'src/shared/machine-pool.c')
-rw-r--r-- | src/shared/machine-pool.c | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/shared/machine-pool.c b/src/shared/machine-pool.c index 4172a63fd0..23cbd8d600 100644 --- a/src/shared/machine-pool.c +++ b/src/shared/machine-pool.c @@ -19,10 +19,23 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#include <errno.h> +#include <fcntl.h> +#include <linux/loop.h> +#include <signal.h> +#include <stdbool.h> +#include <stdio.h> +#include <stdlib.h> +#include <sys/ioctl.h> #include <sys/mount.h> #include <sys/prctl.h> +#include <sys/stat.h> +#include <sys/statfs.h> #include <sys/statvfs.h> -#include <sys/vfs.h> +#include <unistd.h> + +#include "sd-bus-protocol.h" +#include "sd-bus.h" #include "alloc-util.h" #include "btrfs-util.h" @@ -30,7 +43,10 @@ #include "fileio.h" #include "fs-util.h" #include "lockfile-util.h" +#include "log.h" #include "machine-pool.h" +#include "macro.h" +#include "missing.h" #include "mkdir.h" #include "mount-util.h" #include "parse-util.h" @@ -39,7 +55,6 @@ #include "signal-util.h" #include "stat-util.h" #include "string-util.h" -#include "util.h" #define VAR_LIB_MACHINES_SIZE_START (1024UL*1024UL*500UL) #define VAR_LIB_MACHINES_FREE_MIN (1024UL*1024UL*750UL) |