]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/machine-pool.h
import: wire up SYSTEMD_IMPORT_BTRFS_{SUBVOL,QUOTA} to importd
[thirdparty/systemd.git] / src / shared / machine-pool.h
index 179c7ffd92a8624aab21b85abfce1fb079951e2f..c57e47878fbbdb1cbb422a3a26f2e5004c78b18e 100644 (file)
@@ -1,18 +1,8 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
-/***
-  This file is part of systemd.
-
-  Copyright 2015 Lennart Poettering
-***/
-
 #include <stdint.h>
 
 #include "sd-bus.h"
 
-/* Grow the /var/lib/machines directory after each 10MiB written */
-#define GROW_INTERVAL_BYTES (UINT64_C(10) * UINT64_C(1024) * UINT64_C(1024))
-
-int setup_machine_directory(uint64_t size, sd_bus_error *error);
-int grow_machine_directory(void);
+int setup_machine_directory(sd_bus_error *error, bool use_btrfs_subvol, bool use_btrfs_quota);