[libvirt] [PATCH v1 01/11] virStoragePoolObjRemove: Don't unlock pool object upon return

Ján Tomko jtomko at redhat.com
Mon Aug 19 14:15:13 UTC 2019


On Fri, May 24, 2019 at 04:35:37PM +0200, Michal Privoznik wrote:
>The fact that we're removing a pool object from the list of pools
>doesn't mean we want to unlock it. It violates locking policy
>too as object locking and unlocking is not done on the same
>level.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/conf/virstorageobj.c     |  5 ++---
> src/storage/storage_driver.c | 17 +++--------------
> src/test/test_driver.c       | 14 +++-----------
> 3 files changed, 8 insertions(+), 28 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190819/4c26a438/attachment-0001.sig>


More information about the libvir-list mailing list