]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: certainly restart event for previously locked device
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Aug 2022 15:16:17 +0000 (00:16 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Aug 2022 15:40:47 +0000 (00:40 +0900)
commit4f294ffdf18ab9f187400dbbab593a980e60be89
tree58d1a9395410c51dcc62e89d6de93fc860144ed3
parent80c2f3e4cfc2798fed11224df576139466ee467a
udev: certainly restart event for previously locked device

If udevd receives a uevent for a locked block device, then the event
is requeued. However, the queued event will be processed only when at
least one sd_event_source is processed. Hence, if udevd has no event
under processing, or receives no new uevent, etc., then the requeued
event will be never processed.

Follow-up for 400e3d21f8cae53a8ba9f9567f244fbf6f3e076c.

Fixes #24439.
src/udev/udevd.c