]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: use block_device_is_whole_disk()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Sep 2022 00:04:54 +0000 (09:04 +0900)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 20 Sep 2022 07:44:19 +0000 (09:44 +0200)
commit2f9d231738b5ec6f979bb70674ef0c3ecc58c464
treeddaad332d8f9437f45597798a3fb4f72a5eff1ee
parent83b94cf10e4f76b2b415bc70bf65f1c28698b97c
udev: use block_device_is_whole_disk()

No functional changes, just refactoring.

Note, this also makes synthesize_change() propagate the error from
synthesize_change_one(). However, the caller of synthesize_change()
ignores the failure anyway, hence the change does not take any effect.
src/shared/blockdev-util.c
src/shared/blockdev-util.h
src/udev/udevd.c