summaryrefslogtreecommitdiff
path: root/src/core/swap.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-24 13:53:31 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-24 13:53:34 +0200
commit8d8e945624a0080073d94941f3032b8fa3b3aa15 (patch)
tree502fbc4700f5e093fe094cad2e49c957e626cd3f /src/core/swap.h
parent25f5971b5e0b3ab5b91a7d0359cd7f5a5094c1d0 (diff)
manager: drop MountAuto= and SwapAuto= options
The ability to set MountAuto=no and SwapAuto=no was useful during the adoption phase of systemd, so that distributions could stick to their classic mount scripts a bit longer. It is about time to get rid of it now.
Diffstat (limited to 'src/core/swap.h')
-rw-r--r--src/core/swap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/swap.h b/src/core/swap.h
index 5c0ef73026..2a6fceece2 100644
--- a/src/core/swap.h
+++ b/src/core/swap.h
@@ -53,7 +53,6 @@ typedef struct SwapParameters {
int priority;
bool noauto:1;
bool nofail:1;
- bool handle:1;
} SwapParameters;
typedef enum SwapResult {
@@ -109,7 +108,7 @@ struct Swap {
extern const UnitVTable swap_vtable;
-int swap_add_one(Manager *m, const char *what, const char *what_proc_swaps, int prio, bool no_auto, bool no_fail, bool handle, bool set_flags);
+int swap_add_one(Manager *m, const char *what, const char *what_proc_swaps, int prio, bool no_auto, bool no_fail, bool set_flags);
int swap_add_one_mount_link(Swap *s, Mount *m);