summaryrefslogtreecommitdiff
path: root/src/core/swap.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-28 14:24:46 +0100
committerLennart Poettering <lennart@poettering.net>2014-10-28 14:31:25 +0100
commit47cb901e38cd7092576fc8e76cc4a14f39bf719d (patch)
tree7ca11b696f63e7ce2467139c455c89a47487101d /src/core/swap.h
parent33488f19793dc0a86fdee27266c5319b5b78d695 (diff)
swap: replace Discard= setting by a more generic Options= setting
For now, it's systemd itself that parses the options string, but as soon as util-linux' swapon can take the option string directly with -o we should pass it on unmodified.
Diffstat (limited to 'src/core/swap.h')
-rw-r--r--src/core/swap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/swap.h b/src/core/swap.h
index 3482d651ec..053c8492b2 100644
--- a/src/core/swap.h
+++ b/src/core/swap.h
@@ -63,7 +63,7 @@ typedef enum SwapResult {
typedef struct SwapParameters {
char *what;
- char *discard;
+ char *options;
int priority;
bool noauto:1;
bool nofail:1;