summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-01-20 09:46:47 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-01-23 14:06:43 +0900
commitcfcd431890e7b8cf6fb773a3d1c8ca86b52bfd99 (patch)
tree3ec16eee704bc83615760997f196f86a1164ea8c
parenta51ee72d2eb40e9747418fa4de4d3a266ca0a4f5 (diff)
core: add missing unit_add_to_load_queue() to mount_setup_new_unit()
unit_add_to_load_queue was present in the code before 03b8cfede9ff3441b1ec8ff5cdf6876294846aa4, and was inadvertently dropped. Fixes #5105
-rw-r--r--src/core/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/mount.c b/src/core/mount.c
index fb08022ee0..f2e22f9562 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -1435,6 +1435,7 @@ static int mount_setup_new_unit(
return r;
}
+ unit_add_to_load_queue(u);
flags->is_mounted = true;
flags->just_mounted = true;
flags->just_changed = true;