shutdown: don't stop the watchdog
authorMichael Olbrich <m.olbrich@pengutronix.de>
Wed, 2 Feb 2022 14:33:07 +0000 (15:33 +0100)
committerMichael Olbrich <m.olbrich@pengutronix.de>
Fri, 4 Feb 2022 11:26:58 +0000 (12:26 +0100)
commit119d5126d1c69ae0920a6e888e4b419458c5e292
tree969728e6209ba1ea55726a04e07d50344f2d087c
parentf4b1a6b6419b771d26342a9b75b1d77ee9d90133
shutdown: don't stop the watchdog

This basically reverts #22079.

Stopping the watchdog is wrong. The reboot watchdog is supposed to cover
the whole time from the point when systemd start systemd-reboot until the
hardware resets.
Otherwise the system may hang in the final shutdown phase.

Add a comment, why keeping the watchdog running is correct here.
src/shutdown/shutdown.c