]> git.ipfire.org Git - thirdparty/systemd.git/commit - units/tmp.mount
core: make "tmpfs" dependencies on swapfs a "default" dep, not an "implicit"
authorLennart Poettering <lennart@poettering.net>
Thu, 26 Oct 2017 15:24:55 +0000 (17:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Nov 2017 18:52:41 +0000 (19:52 +0100)
commit3e3852b3c6c61506963112fd218a86b673fc61e6
tree8009afd8598ddf721c9a53ec8a0f935bf9909a88
parentdcebc9bae4dcc3e844f01558c6127fc0d8745c8e
core: make "tmpfs" dependencies on swapfs a "default" dep, not an "implicit"

There should be a way to turn this logic of, and DefaultDependencies=
appears to be the right option for that, hence let's downgrade this
dependency type from "implicit" to "default, and thus honour
DefaultDependencies=.

This also drops mount_get_fstype() as we only have a single user needing
this now.

A follow-up for #7076.
src/core/dbus-mount.c
src/core/mount.c
src/core/mount.h
units/tmp.mount