]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/mount.c
mount: clean up reload_result management a bit
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Sep 2017 16:56:19 +0000 (18:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Sep 2017 14:17:22 +0000 (16:17 +0200)
commit850b741084fd58573f5f804a434e2fa9ee7bd1c8
tree75265254e66261739b2e59d0acd07b82b008a69f
parenta6951a50791943cca7a10a8c0a751d73db502faa
mount: clean up reload_result management a bit

Let's only collect the first failure in the load result, and let's clear
it explicitly when we are about to enter a new reload operation. This
makes it more alike the handling of the main result value (which also
only stores the first failure), and also the handling of service.c's
reload state.
src/core/mount.c