On Fri, Jul 28, 2017 at 12:38:56PM -0400, John Ferlan wrote:
Instead of making virObjectLock be the entry point for two
different types of locks, let's create a virObjectLockWrite API
which will be able to return status and force the (new) consumers
of the RWLock to make sure the lock is really obtained when the
"right" object type is passed.
If you remove the return value for the same reason as in the first patch
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>