summaryrefslogtreecommitdiffstats
path: root/src/shutdown/umount.h
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2022-06-09 16:50:54 +0200
committerJan Janssen <medhefgo@web.de>2022-06-09 16:50:54 +0200
commit5125b67742567de79c12e31f434a11d787b4f6b1 (patch)
tree0adb540fb464fcf423b703d2ff2fef0309031a30 /src/shutdown/umount.h
parentResolve conflicts between #23616 and the recent NFT additions (diff)
downloadsystemd-5125b67742567de79c12e31f434a11d787b4f6b1.tar.xz
systemd-5125b67742567de79c12e31f434a11d787b4f6b1.zip
shutdown: Rename umount_log_level and make it a bool
This was already effectively a bool because only ever two states were valid. To make the meaning of it more clear, also rename it to last_try.
Diffstat (limited to '')
-rw-r--r--src/shutdown/umount.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/shutdown/umount.h b/src/shutdown/umount.h
index fac1a12406..618b754011 100644
--- a/src/shutdown/umount.h
+++ b/src/shutdown/umount.h
@@ -7,15 +7,11 @@
#include "list.h"
-int umount_all(bool *changed, int umount_log_level);
-
+int umount_all(bool *changed, bool last_try);
int swapoff_all(bool *changed);
-
-int loopback_detach_all(bool *changed, int umount_log_level);
-
-int dm_detach_all(bool *changed, int umount_log_level);
-
-int md_detach_all(bool *changed, int umount_log_level);
+int loopback_detach_all(bool *changed, bool last_try);
+int dm_detach_all(bool *changed, bool last_try);
+int md_detach_all(bool *changed, bool last_try);
/* This is exported just for testing */
typedef struct MountPoint {