]> xenbits.xensource.com Git - libvirt.git/commit
nodedev: udev: Remove driver locks from stateInitialize and stateCleanup
authorErik Skultety <eskultet@redhat.com>
Wed, 18 Oct 2017 10:51:40 +0000 (12:51 +0200)
committerErik Skultety <eskultet@redhat.com>
Thu, 19 Oct 2017 06:54:53 +0000 (08:54 +0200)
commit37e02f68d08fc2948c0920e89fe2cda67d022240
tree82deef023d9372d932b81e7080dc81594da77d71
parent365553645c92cd34fbceb1fc3b523cb129e79399
nodedev: udev: Remove driver locks from stateInitialize and stateCleanup

The driver locks are unnecessary here, since currently the cleanup is
only called from the main daemon thread, so we can't race here. Moreover
@devs and @privateData are self-lockable objects, so no problem there
either.

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