]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: do not ignore -ENOENT from sd_device_get_devname() for block device 24725/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 18 Sep 2022 14:32:21 +0000 (23:32 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 18 Sep 2022 14:32:24 +0000 (23:32 +0900)
commitd50c55bd435a5c338665da1cb83df88b49b96eff
tree71f337c3541b0065954996049aed230b253cdd6d
parent8f71534e06d40312371fa80d932783e1f937bc59
udev: do not ignore -ENOENT from sd_device_get_devname() for block device

We already checked that the sd_device object 'dev' is for a whole block
device. So, -ENOENT should not be triggeered here, and if it is, there
exists something spurious. Hence we should not ignore the failure.
src/udev/udevd.c