]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: also make uevent blocked by events for the same device node 23088/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 21 Apr 2022 08:47:51 +0000 (17:47 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 4 May 2022 08:16:23 +0000 (17:16 +0900)
commit34458dbbe795c20442f6262875c74a679c5957e0
treec39c7e13f92189e26c8ec3764248b8286c9bc258
parenta1af9668ec78fc11a2e7ac942397eac0c8fceced
udev: also make uevent blocked by events for the same device node

Even if the device node is the same, devnum (thus, device ID) and
syspath may be different. If a 'remove' and 'add' events for the same
device node but with different devnum and syspath are queued,
previously, we might process them in parallel. And, udev_watch_end() for
the 'remove' event and udev_watch_begin() for the 'add' event may
interfere each other.
src/udev/udevd.c