]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Rewrite disk type checking in udevProcessStorage
authorJán Tomko <jtomko@redhat.com>
Fri, 3 Jun 2016 16:24:43 +0000 (18:24 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 7 Jun 2016 10:14:24 +0000 (12:14 +0200)
commit71cddab0428cad8543d2bf9cd3d518f2eb8e15ef
tree772ae7ecf535e7640314f6639191d2d6e407b09f
parent4ccf6886c8efb46bce1d144d01b88e2e3f90ebb1
Rewrite disk type checking in udevProcessStorage

Error out on parsing errors and use a local const char pointer
instead of chained ifs to check whether we found a match.
src/node_device/node_device_udev.c