libvirt/src/locking
Daniel P. Berrangé bc7e72914a util: consolidate on one free callback for hash data
This previous commit introduced a simpler free callback for
hash data with only 1 arg, the value to free:

  commit 49288fac96
  Author: Peter Krempa <pkrempa@redhat.com>
  Date:   Wed Oct 9 15:26:37 2019 +0200

    util: hash: Add possibility to use simpler data free function in virHash

It missed two functions in the hash table code which need
to call the alternate data free function, virHashRemoveEntry
and virHashRemoveSet.

After the previous patch though, there is no code that
makes functional use of the 2nd key arg in the data
free function. There is merely one log message that can
be dropped.

We can thus purge the current virHashDataFree callback
entirely, and rename virHashDataFreeSimple to replace
it.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-11-22 14:21:28 +00:00
..
domain_lock.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
domain_lock.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
libvirt_lockd.aug Check for tabs in augeas files 2018-01-31 15:19:26 +00:00
libvirt_sanlock.aug locking: Add io_timeout to sanlock 2015-11-18 10:56:56 +01:00
lock_daemon_config.c locking: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
lock_daemon_config.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_daemon_dispatch.c locking: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:57 +02:00
lock_daemon_dispatch.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_daemon.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
lock_daemon.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_driver_lockd.c locking: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
lock_driver_lockd.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_driver_nop.c locking: use G_GNUC_UNUSED 2019-10-15 11:25:23 +02:00
lock_driver_nop.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_driver_sanlock.c locking: fix build with older sanlock 2019-11-13 09:52:37 +01:00
lock_driver.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_manager.c locking: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
lock_manager.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_protocol.x Fix make check with gcc version 5 2016-01-18 15:19:21 +01:00
lockd.conf Remove unnecessary empty first lines 2014-06-06 10:52:05 +02:00
Makefile.inc.am build: fix substitution of RUNSTATEDIR in man pages 2019-11-11 14:25:47 +00:00
sanlock_helper.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
sanlock.conf locking: Fix documentation on how automatic sanlock leases are stored 2016-12-19 17:28:41 +01:00
test_libvirt_lockd.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
test_libvirt_sanlock.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
test_virtlockd.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
virtlockd-admin.socket.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00
virtlockd.aug rpc: remove remains of obsolete log_buffer_size config parameter 2018-03-23 10:44:35 +00:00
virtlockd.conf util: drop support for stack traces with logging 2019-10-18 16:25:17 +01:00
virtlockd.pod src: honour the RUNSTATEDIR variable in all code 2019-08-27 10:23:13 +01:00
virtlockd.service.in build: don't hardcode /etc in the config related files 2019-08-09 14:06:31 +01:00
virtlockd.socket.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00
virtlockd.sysconf Introduce basic infrastructure for virtlockd daemon 2012-12-13 15:26:57 +00:00