]> git.ipfire.org Git - thirdparty/libvirt.git/commit
interface_udev: Replace udevNumOfInterfacesByStatus by udevListInterfacesByStatus
authorPeter Krempa <pkrempa@redhat.com>
Mon, 6 May 2024 15:41:02 +0000 (17:41 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 7 May 2024 12:55:57 +0000 (14:55 +0200)
commitbc596f275129bc11b2c4bcf737d380c9e8aeb72d
tree12a3547a2907374a2d9b12675a5c85b1901eb591
parente6a55927878ab560b80926e91584b02cb07fbe69
interface_udev: Replace udevNumOfInterfacesByStatus by udevListInterfacesByStatus

Make the array-filling operation of udevListInterfacesByStatus optional
and replace the completely redundant udevNumOfInterfacesByStatus by it.

Further patches fixing the listing will not need to be duplicated.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/interface/interface_backend_udev.c