]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/mount: disable timer event source when USEC_INFINITY 28751/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Aug 2023 01:23:59 +0000 (10:23 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 17 Aug 2023 06:25:31 +0000 (08:25 +0200)
commit57d2b6a96f997c23bed37d74c6da087fb06081d2
tree625798fb3188cdeb6ec4f6a7735b065ca6e10425
parente323d2e463270ef556aeb753455bdf01a22af46d
core/mount: disable timer event source when USEC_INFINITY

Setting USEC_INFINITY to timer event source should not cause any
problem. But, disabling timer event source should be preferable.

[zjs: simplify the call to sd_event_source_set_enabled()]
src/core/mount.c