udev: when the BSD lock on a block device is taken, don't complain
authorLennart Poettering <lennart@poettering.net>
Tue, 26 May 2020 16:58:15 +0000 (18:58 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 31 May 2020 05:05:13 +0000 (07:05 +0200)
commitbed695375abc5b27213adcaea0eb37655d48f58e
treeb14c3b51f5f83c5babad82f6b17b520662a8ce27
parent66fcfdfde7d98413cc8f68a98e56fe36f5d9cc38
udev: when the BSD lock on a block device is taken, don't complain

if someone implements https://systemd.io/BLOCK_DEVICE_LOCKING/ then we
shouldn't loudly complain about that.

This reverts back to the original behaviour from
3ebdb81ef088afd3b4c72b516beb5610f8c93a0d: when the lock is taken we
silently skip processing the device and sending out the messages for it.

(cherry picked from commit 5abee64ed40039404d68414f0189245988635e6c)
src/udev/udevd.c