]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/udev/udev-event.c
udev-node: drop redundant trial of devlink creation 20603/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 1 Sep 2021 00:29:42 +0000 (09:29 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 2 Sep 2021 00:06:25 +0000 (09:06 +0900)
commit7920d0a135fb6a08aa0bfc31e9d0a3f589fe7a1f
tree2447f254eaf87a56e2213594ebe02f252222d207
parent0063fa23a1384dd4385d03b568dc629916b7e72a
udev-node: drop redundant trial of devlink creation

Previously, the devlink was created based on the priority saved in udev
database. So, we needed to reevaluate devlinks after database is saved.

But now the priority is stored in the symlink under /run/udev/links, and
the loop of devlink creation is controlled with the timestamp of the
directory. So, the double evaluation is not necessary anymore.
src/udev/udev-event.c
src/udev/udev-node.c