automount: don't cancel mount/umount request on reload/reexec (#3670)
authorMichael Olbrich <m.olbrich@pengutronix.de>
Mon, 25 Jul 2016 18:04:02 +0000 (20:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Jul 2016 18:04:02 +0000 (20:04 +0200)
commit87d41d6244f1eaf441769f7f6216a606c52b8e89
tree1201e0449eb8d3c06031c7ee95b5e6c98d4c9dda
parent2de0b9e913823d6e564ea82d80d014451c238f20
automount: don't cancel mount/umount request on reload/reexec (#3670)

All pending tokens are already serialized correctly and will be handled
when the mount unit is done.

Without this a 'daemon-reload' cancels all pending tokens. Any process
waiting for the mount will continue with EHOSTDOWN.
This can happen when the mount unit waits for it's dependencies, e.g.
network, devices, fsck, etc.
src/core/automount.c