]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: udev: Split udevEventHandleCallback in two functions
authorErik Skultety <eskultet@redhat.com>
Wed, 28 Jun 2017 12:20:37 +0000 (14:20 +0200)
committerErik Skultety <eskultet@redhat.com>
Thu, 19 Oct 2017 06:54:53 +0000 (08:54 +0200)
commit5a47baaf4458c1024ee9fed3655bf90cac38fed2
tree80bfe41a7fcd0c7fb3ed4298f1ff360bc0e142a2
parent6215b036e72c2833feee0694a27ac4985868346a
nodedev: udev: Split udevEventHandleCallback in two functions

This patch splits udevEventHandleCallback in two (introduces
udevEventHandleThread) in order to be later able to refactor the latter
to actually become a normal thread which will wait some time for the
kernel to create the whole sysfs tree for a device as we cannot do that
in the event loop directly.

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