]> git.ipfire.org Git - thirdparty/libvirt.git/commit
admin: Remove unnecessary @conn object locking
authorErik Skultety <eskultet@redhat.com>
Thu, 10 Nov 2016 12:32:41 +0000 (13:32 +0100)
committerErik Skultety <eskultet@redhat.com>
Mon, 14 Nov 2016 09:18:56 +0000 (10:18 +0100)
commitd46a1e5d45baa6ce704767efb9fc6387f3d10a76
treee496c9290068fa1a073ffffb89bbc44c23c0df71
parentb98b3b742baa7d8960574ab2800509fc8dbb1b1b
admin: Remove unnecessary @conn object locking

The only place we change the @conn object is actually virAdmConnectOpen
routine, thus at the moment we don't really need to lock it, given the fact that
what we're trying to do here is to change the closeCallback object which is a
lockable object itself, so that should be enough to avoid races.

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