]> git.ipfire.org Git - thirdparty/systemd.git/commit
swap: adjust swap.c in a similar way to what we just did to mount.c
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Sep 2017 17:53:19 +0000 (19:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Sep 2017 14:17:22 +0000 (16:17 +0200)
commit50864457e1bc5f7a4ab2fd02e1565bc5d135d2f3
treee56bff1d2d37982a77e7921089e37bcdca0e8a1b
parentc634f3d2fc0f9f682af69e2d38b07847e5bd4f14
swap: adjust swap.c in a similar way to what we just did to mount.c

Also drop the redundant states and make all similar changes too.
Thankfully the swap.c state engine is much simpler than mount.c's, hence
this should be easier to digest.
src/basic/unit-name.c
src/basic/unit-name.h
src/core/swap.c