]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/socket.c
pid1: rename unit_check_gc to unit_may_gc
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 13 Feb 2018 09:50:13 +0000 (10:50 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Feb 2018 12:04:12 +0000 (13:04 +0100)
commitf2f725e5cc950e84ebfd09bd64bc01c0ebdb6734
tree80ef98e352c8618a4f78668499701e86b8880e52
parent94e91c8319fa207bcfed29a695e95a699e84235e
pid1: rename unit_check_gc to unit_may_gc

"check" is unclear: what is true, what is false? Let's rename to "can_gc" and
revert the return value ("positive" values are easier to grok).

v2:
- rename from unit_can_gc to unit_may_gc
src/core/automount.c
src/core/manager.c
src/core/mount.c
src/core/service.c
src/core/socket.c
src/core/socket.h
src/core/swap.c
src/core/unit.c
src/core/unit.h