]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Make activeUsbHostdevs use locks
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 17 Jul 2013 07:14:42 +0000 (09:14 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 18 Jul 2013 12:16:54 +0000 (14:16 +0200)
commit2a82171affa266e4afe472ea7b79038e338aab52
tree098db9a1aec200010d30827219a332cfa9af246c
parent64ec738e58917c7a94c862fca725335a4fff3e11
lxc: Make activeUsbHostdevs use locks

The activeUsbHostdevs item in LXCDriver are lockable, but the lock has
to be called explicitly. Call the virObject(Un)Lock() in order to
achieve mutual exclusion once lxcDriverLock is removed.
src/lxc/lxc_driver.c
src/lxc/lxc_hostdev.c