mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
interface: Convert virInterfaceObj to use virObjectLockable
Now that we have a bit more control, let's convert our object into
a lockable object and let that magic handle the create and lock/unlock.
This commit also introduces virInterfaceObjEndAPI in order to handle the
lock unlock and object unref in one call for consumers returning a NULL
obj upon return. This removes the need for virInterfaceObj{Lock|Unlock}
external API's.
Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
@@ -44,7 +44,6 @@ src/conf/storage_adapter_conf.c
|
||||
src/conf/storage_conf.c
|
||||
src/conf/virchrdev.c
|
||||
src/conf/virdomainobjlist.c
|
||||
src/conf/virinterfaceobj.c
|
||||
src/conf/virnetworkobj.c
|
||||
src/conf/virnodedeviceobj.c
|
||||
src/conf/virnwfilterobj.c
|
||||
|
||||
Reference in New Issue
Block a user