sd-event: make event_source_time_prioq_reshuffle() accept all event source type
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Jun 2021 17:03:02 +0000 (02:03 +0900)
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>
Wed, 21 Jul 2021 12:15:58 +0000 (14:15 +0200)
commitbf370d05bbc8c4d91c8c2b455116e59a24e48911
treeadb27e91ff9e40b8f3ec7e81b3d460b5d9f74c67
parentb79e00d8f97b8c959c5b17f0547c680f86dd9132
sd-event: make event_source_time_prioq_reshuffle() accept all event source type

But it does nothing for an event source which is neither a timer nor
ratelimited.

(cherry picked from commit 5c08c7ab23dbf02aaf4e4bbae8e08a195da230a4)

Related: #1968528
src/libsystemd/sd-event/sd-event.c