diff options
author | Franck Bui <fbui@suse.com> | 2019-10-28 18:50:43 +0100 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2019-10-28 18:51:23 +0100 |
commit | d336ba9fa6ac2a70202e6887c4ac52185bca0a50 (patch) | |
tree | 9369672901001c8d75b054fadc7efccae492c10b /src/core/swap.c | |
parent | swap: do not make swap units wanted by its device unit anymore (diff) | |
download | systemd-d336ba9fa6ac2a70202e6887c4ac52185bca0a50.tar.xz systemd-d336ba9fa6ac2a70202e6887c4ac52185bca0a50.zip |
core: drop 'wants' parameter from unit_add_node_dependency()
Since Wants dependency is no more automagically added to swap and mount units,
this parameter is no more used hence this patch drops it.
Diffstat (limited to 'src/core/swap.c')
-rw-r--r-- | src/core/swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/swap.c b/src/core/swap.c index 22827a296c..c184afa29d 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -197,7 +197,7 @@ static int swap_add_device_dependencies(Swap *s) { return 0; if (is_device_path(s->what)) - return unit_add_node_dependency(UNIT(s), s->what, false, UNIT_BINDS_TO, UNIT_DEPENDENCY_FILE); + return unit_add_node_dependency(UNIT(s), s->what, UNIT_BINDS_TO, UNIT_DEPENDENCY_FILE); /* File based swap devices need to be ordered after systemd-remount-fs.service, * since they might need a writable file system. */ |