Re: [libvirt PATCH 03/10] secret: Factor out mutex

2022-02-17 Thread Daniel P . Berrangé
On Fri, Feb 11, 2022 at 11:30:39AM +0100, Tim Wiederhake wrote: > If the mutex is part of the `driver` object, it cannot guard that > object's creation and destruction perfectly. The mutex doesn't need to guard the object's creation/destruction in its entirity though. The driver creation/destruct

[libvirt PATCH 03/10] secret: Factor out mutex

2022-02-11 Thread Tim Wiederhake
If the mutex is part of the `driver` object, it cannot guard that object's creation and destruction perfectly. Signed-off-by: Tim Wiederhake --- src/secret/secret_driver.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/secret/secret_driver.c b/src/secret/sec