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

2019-08-19 Thread Ján Tomko
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

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

2019-05-24 Thread Michal Privoznik
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 --- src/conf/virstorageobj.c | 5 ++---