summaryrefslogtreecommitdiffstats
path: root/src/shutdown/detach-loopback.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-02 10:36:39 +0200
committerLennart Poettering <lennart@poettering.net>2023-06-02 15:56:06 +0200
commit2e2c472b1c424e8ae15d4da5a754e1f3b8182a00 (patch)
tree0a217ae0a1e3319cc9ac6c4a16f98aa2994b1842 /src/shutdown/detach-loopback.h
parentumount: similar as previous commit, split out DM detaching (diff)
downloadsystemd-2e2c472b1c424e8ae15d4da5a754e1f3b8182a00.tar.xz
systemd-2e2c472b1c424e8ae15d4da5a754e1f3b8182a00.zip
umount: split out loopback detach code
Like the similar commits, no actual code changes, just splitting up large C files.
Diffstat (limited to 'src/shutdown/detach-loopback.h')
-rw-r--r--src/shutdown/detach-loopback.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shutdown/detach-loopback.h b/src/shutdown/detach-loopback.h
new file mode 100644
index 0000000000..d6d73f31af
--- /dev/null
+++ b/src/shutdown/detach-loopback.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+/***
+ Copyright © 2010 ProFUSION embedded systems
+***/
+
+#include <stdbool.h>
+
+int loopback_detach_all(bool *changed, bool last_try);