projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
705578c
)
mount: make mount units start jobs not runnable if /p/s/mountinfo ratelimit is in...
author
Michal Sekletar
<msekleta@redhat.com>
Mon, 4 Oct 2021 17:41:34 +0000
(19:41 +0200)
committer
Michal Sekletar
<msekleta@redhat.com>
Thu, 11 Nov 2021 16:04:39 +0000
(17:04 +0100)
src/core/mount.c
patch
|
blob
|
history
diff --git
a/src/core/mount.c
b/src/core/mount.c
index 2ebae752b64420f9d6296abea130674e1bb229be..88a670dc2ae5e2f62d6d4b7056cd155c3950dd3b 100644
(file)
--- a/
src/core/mount.c
+++ b/
src/core/mount.c
@@
-2141,6
+2141,9
@@
static int mount_can_start(Unit *u) {
assert(m);
+ if (sd_event_source_is_ratelimited(u->manager->mount_event_source))
+ return -EAGAIN;
+
r = unit_test_start_limit(u);
if (r < 0) {
mount_enter_dead(m, MOUNT_FAILURE_START_LIMIT_HIT);