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>
Tue, 2 Nov 2021 16:29:45 +0000 (16:29 +0000)
commitc75f6a28b8220ab6ed6b1567666a58219a87146e
tree56992855941c21a8b9ada594f292713df352130c
parent374e631c98b8faf8d4e65b31e10830d596cd9539
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