]> xenbits.xensource.com Git - libvirt.git/commit
nodedev: mdev: Report an error when mdev path resolution fails
authorErik Skultety <eskultet@redhat.com>
Tue, 20 Jun 2017 14:50:26 +0000 (16:50 +0200)
committerErik Skultety <eskultet@redhat.com>
Thu, 17 Aug 2017 14:50:47 +0000 (16:50 +0200)
commit6167d8494cc6c78763efeb8b335c8c5dee2f473e
treedd3df9557b729f8a9c4211c0de581a8213d8942e
parent03fb4e3deaa18d292810b21c23e2f8e06a435821
nodedev: mdev: Report an error when mdev path resolution fails

It might happen that virFileResolveLinkHelper fails on the lstat system
call. virFileResolveLink expects the caller to report an error when it
fails, however this wasn't the case for udevProcessMediatedDevice.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/node_device/node_device_udev.c