diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-09-25 19:53:19 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-09-25 19:53:19 +0200 |
commit | e433767f8bd01114b98fdda6a546fa17e716fa60 (patch) | |
tree | 8e4c61e7d0086187ef1ce2c8cb4a1b8f1fafdd16 /src/basic/unit-name.h | |
parent | acb0dfc64a315e7bdd002c0a1da110e7008f42fd (diff) |
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.
Diffstat (limited to 'src/basic/unit-name.h')
-rw-r--r-- | src/basic/unit-name.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/unit-name.h b/src/basic/unit-name.h index cfe21474a..6ffe29076 100644 --- a/src/basic/unit-name.h +++ b/src/basic/unit-name.h @@ -171,8 +171,6 @@ typedef enum SwapState { SWAP_ACTIVATING_DONE, /* /sbin/swapon is running, and the swap is done. */ SWAP_ACTIVE, SWAP_DEACTIVATING, - SWAP_ACTIVATING_SIGTERM, - SWAP_ACTIVATING_SIGKILL, SWAP_DEACTIVATING_SIGTERM, SWAP_DEACTIVATING_SIGKILL, SWAP_FAILED, |