]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virStoragePoolUpdateInactive: Don't call virStoragePoolObjEndAPI
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 24 May 2019 14:35:40 +0000 (16:35 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 22 Aug 2019 15:09:05 +0000 (17:09 +0200)
commitc7df2437d27b3bafb9111c991f44e2f2cef0951b
tree076370247ffd9db4fa9f28369199b72ba79c17de
parent62ec38518f98aec1209a855f669435751e2a23ed
virStoragePoolUpdateInactive: Don't call virStoragePoolObjEndAPI

There is no need for this function to call
virStoragePoolObjEndAPI(). The object is perfectly usable after
return from this function. In fact, all callers will call
virStoragePoolObjEndAPI() eventually.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/storage/storage_driver.c