As I started to turn more object into using RW locks, I've found couple of
areas for improvement too.
Michal Privoznik (7):
virConnect: Update comment for @privateData
Report error if virMutexInit fails
virnetworkobj: Make virNetworkObjFindBy{UUID,Name}Locked() static
again
virNetworkObjList: Derive from virObjectRWLockable
virNodeDeviceObjList: Derive from virObjectRWLockable
virConnect: Derive from virObjectRWLockable
storageDriver: Use RW locks
src/bhyve/bhyve_driver.c | 1 +
src/conf/virnetworkobj.c | 42 ++++++++++----------------------
src/conf/virnetworkobj.h | 8 -------
src/conf/virnodedeviceobj.c | 16 ++++++-------
src/conf/virstorageobj.h | 2 +-
src/datatypes.c | 6 +++--
src/datatypes.h | 6 ++---
src/libvirt_private.syms | 2 --
src/lxc/lxc_driver.c | 1 +
src/lxc/lxc_fuse.c | 4 +++-
src/network/bridge_driver.c | 1 +
src/node_device/node_device_hal.c | 1 +
src/nwfilter/nwfilter_dhcpsnoop.c | 12 +++++++---
src/nwfilter/nwfilter_driver.c | 5 +++-
src/nwfilter/nwfilter_gentech_driver.c | 4 +++-
src/secret/secret_driver.c | 2 ++
src/storage/storage_driver.c | 44 +++++++++++++++++++---------------
src/uml/uml_driver.c | 1 +
src/util/virerror.c | 2 +-
src/util/virnetlink.c | 1 +
src/util/virthreadpool.c | 4 +++-
src/vmware/vmware_driver.c | 5 +++-
src/vz/vz_driver.c | 4 +++-
tools/virsh-console.c | 4 +++-
24 files changed, 94 insertions(+), 84 deletions(-)
--
2.13.0