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)
committerRaspbian forward porter <root@raspbian.org>
Fri, 15 Oct 2021 10:50:57 +0000 (11:50 +0100)
commit1bd3f4937568f01a8e7d991fb95aad0f48b61ece
treee9c586f0ef122bc89c3168be8eb2db905b3d25a5
parent0b30c567ba7b73e9d067b692109e8eb5938f5111
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