summaryrefslogtreecommitdiff
path: root/src/basic/unit-def.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-08-25 22:08:47 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-08-28 23:09:54 +0900
commit17e9d53d87245bff7191d6962fdc9eca42195ed2 (patch)
treee98dcc13d16fb39924e68fbbf7551b56a0dd6471 /src/basic/unit-def.c
parentc968d76a382f905b419cacd23a6b20aa31aca580 (diff)
downloadsystemd-17e9d53d87245bff7191d6962fdc9eca42195ed2.tar.gz
core/mount: support "systemctl clean" for mount units
Diffstat (limited to 'src/basic/unit-def.c')
-rw-r--r--src/basic/unit-def.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/basic/unit-def.c b/src/basic/unit-def.c
index e0928f9c02..b0b2d917fa 100644
--- a/src/basic/unit-def.c
+++ b/src/basic/unit-def.c
@@ -136,7 +136,8 @@ static const char* const mount_state_table[_MOUNT_STATE_MAX] = {
[MOUNT_REMOUNTING_SIGKILL] = "remounting-sigkill",
[MOUNT_UNMOUNTING_SIGTERM] = "unmounting-sigterm",
[MOUNT_UNMOUNTING_SIGKILL] = "unmounting-sigkill",
- [MOUNT_FAILED] = "failed"
+ [MOUNT_FAILED] = "failed",
+ [MOUNT_CLEANING] = "cleaning",
};
DEFINE_STRING_TABLE_LOOKUP(mount_state, MountState);