From 47cb901e38cd7092576fc8e76cc4a14f39bf719d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 28 Oct 2014 14:24:46 +0100 Subject: 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. --- src/core/swap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/swap.h') 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; -- cgit v1.2.3-54-g00ecf