]> git.ipfire.org Git - thirdparty/systemd.git/commit
loop-util: slightly rework device_has_block_children()
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Apr 2022 15:00:38 +0000 (17:00 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 7 Apr 2022 16:55:58 +0000 (18:55 +0200)
commit7ffc7f3fcc86260417a7b09bd40f9c517da371df
treed037daecc1f2eaa3cfb19a8f0441eab0720e14d8
parenta145f8c06c354328b4a6ed8a7621c4b21cbca05b
loop-util: slightly rework device_has_block_children()

Let's match by devtype, i.e. the official way to distinguish "whole"
block devices from partitions.

Also add debug logging for devices we thus ignore.
src/shared/loop-util.c