On 4/12/22 16:57, Tim Wiederhake wrote: > Use the recently implemented VIR_LOCK_GUARD and VIR_WITH_MUTEX_LOCK_GUARD > to simplify mutex management. > > Tim Wiederhake (10): > virstorageobj: Replace deprecated virHash functions > virStoragePoolObjAddVol: Simplify error path > virStorageVolObjEndAPI: Remove > virStorageVolObjNew: Move locking to usage site > virstorageobject: Use automatic mutex management > virNetServerProcessClients: Remove goto > virnetserver: Use automatic mutex management > virnetserverclient: Use automatic mutex management > security_manager: Use automatic mutex management > vz_driver: Use automatic mutex management > > src/conf/virstorageobj.c | 185 +++++------ > src/rpc/virnetserver.c | 295 +++++++----------- > src/rpc/virnetserverclient.c | 432 ++++++++++++-------------- > src/security/security_manager.c | 524 +++++++++++++------------------- > src/vz/vz_driver.c | 50 ++- > 5 files changed, 604 insertions(+), 882 deletions(-) > Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx> Michal