diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2021-11-09 15:26:28 -0800 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-11-10 10:52:08 +0100 |
commit | 899acf5c2d4b89caa891d05ccfa4be828a999c2d (patch) | |
tree | 542704b65d167750da9a4d9e72616e22d947e16b /src/core/unit-serialize.c | |
parent | 4d544a0c879a2f1a983cc5e6960c4a53fa565772 (diff) | |
download | systemd-899acf5c2d4b89caa891d05ccfa4be828a999c2d.tar.gz |
core: replace slice dependencies as they get added
Defines a "UNIT_DEPENDENCY_SLICE_PROPERTY" UnitDependencyMask type that
is used when adding slices to the dependencies hashmap. This type is
used to remove slice dependencies when they get overridden by new ones.
Fixes #20182
Diffstat (limited to 'src/core/unit-serialize.c')
-rw-r--r-- | src/core/unit-serialize.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/unit-serialize.c b/src/core/unit-serialize.c index 3458d7017b..7d2e6bc130 100644 --- a/src/core/unit-serialize.c +++ b/src/core/unit-serialize.c @@ -593,6 +593,7 @@ static void print_unit_dependency_mask(FILE *f, const char *kind, UnitDependency { UNIT_DEPENDENCY_MOUNTINFO_IMPLICIT, "mountinfo-implicit" }, { UNIT_DEPENDENCY_MOUNTINFO_DEFAULT, "mountinfo-default" }, { UNIT_DEPENDENCY_PROC_SWAP, "proc-swap" }, + { UNIT_DEPENDENCY_SLICE_PROPERTY, "slice-property" }, }; assert(f); |