udev-node: assume no new claim to a symlink if /run/udev/links is not updated
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 1 Sep 2021 21:58:59 +0000 (06:58 +0900)
committerMichael Biebl <biebl@debian.org>
Fri, 19 Nov 2021 20:11:45 +0000 (20:11 +0000)
commit2fedadf55caf9e01d496a144756de015755fb68b
tree1669c96b3722c6c6d90a6585efc534c04746cb3d
parent974036467269ca4aa8d2ee77c06f6ba5b1b29838
udev-node: assume no new claim to a symlink if /run/udev/links is not updated

During creating a symlink to a device node, if another device node which
requests the same symlink is added/removed, `stat_inode_unmodified()`
should always detects that. We do not need to continue the loop
unconditionally.

(cherry picked from commit 8f27311eb2aec2411d1fb7d62e6c9d75d21ae8df)

Gbp-Pq: Name udev-node-assume-no-new-claim-to-a-symlink-if-run-udev-li.patch
src/udev/udev-node.c