diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-05-02 16:51:45 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-05-02 16:51:45 +0200 |
commit | fae03ed32a77934a5c39ed8e338ec6c7a75857a0 (patch) | |
tree | 3b243e1410f2a08fd746f0c952d755af0a2a42a1 /src/basic/barrier.c | |
parent | d14e3a0de913cd5ef52693a9466129820322cff3 (diff) |
automount: rework propagation between automount and mount units
Port the progagation logic to the generic Unit->trigger_notify() callback logic
in the unit vtable, that is called for a unit not only when the triggered unit
of it changes state but also when a job for that unit finishes. This, firstly
allows us to make the code a bit cleaner and more generic, but more
importantly, allows us to notice correctly when a mount job fails, and
propagate that back to autofs client processes.
Fixes: #2181
Diffstat (limited to 'src/basic/barrier.c')
0 files changed, 0 insertions, 0 deletions