summaryrefslogtreecommitdiff
path: root/src/swap.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-25 20:37:04 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-25 20:37:04 +0200
commit173a8d04fc3535b571fe4a0d4715c18be315a43a (patch)
treebe5461d41c7037158ffa708b814076f99945b5fe /src/swap.h
parent9d2205426a54e4eeab18bd7d83bc2fbb43eca4a4 (diff)
mount: rework automatic mounting to follow the 'nofail' option in fstab
Diffstat (limited to 'src/swap.h')
-rw-r--r--src/swap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/swap.h b/src/swap.h
index 3c53536a83..a180708ac8 100644
--- a/src/swap.h
+++ b/src/swap.h
@@ -39,6 +39,7 @@ typedef struct SwapParameters {
char *what;
int priority;
bool noauto:1;
+ bool nofail:1;
bool handle:1;
} SwapParameters;
@@ -60,7 +61,7 @@ struct Swap {
extern const UnitVTable swap_vtable;
-int swap_add_one(Manager *m, const char *what, int prio, bool no_auto, bool handle, bool from_proc_swap);
+int swap_add_one(Manager *m, const char *what, int prio, bool no_auto, bool no_fail, bool handle, bool from_proc_swap);
int swap_add_one_mount_link(Swap *s, Mount *m);