libvirt/src/locking
Cole Robinson 6a4d938dd3 Require a semicolon for VIR_ENUM_IMPL calls
Missing semicolon at the end of macros can confuse some analyzers
(like cppcheck <filename>), and we have a mix of semicolon and
non-semicolon usage through the code. Let's standardize on using
a semicolon for VIR_ENUM_IMPL calls.

Move the verify() statement to the end of the macro and drop
the semicolon, so the compiler will require callers to add a
semicolon.

While we are touching these call sites, standardize on putting
the closing parenth on its own line, as discussed here:
https://www.redhat.com/archives/libvir-list/2019-January/msg00750.html

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2019-02-03 17:46:29 -05:00
..
domain_lock.c locking: Use virDomainLockImage[Attach|Detach] instead of *Disk 2019-01-30 17:20:38 +01:00
domain_lock.h locking: Use virDomainLockImage[Attach|Detach] instead of *Disk 2019-01-30 17:20:38 +01: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 Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
lock_daemon_config.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lock_daemon_dispatch.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
lock_daemon_dispatch.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lock_daemon.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
lock_daemon.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lock_driver_lockd.c storage: Rework virStorageBackendSCSISerial 2019-02-01 10:30:45 -05:00
lock_driver_lockd.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lock_driver_nop.c src: remove blank first line in function body 2018-09-17 13:29:01 +02:00
lock_driver_nop.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lock_driver_sanlock.c Revert "lock_driver: Introduce new VIR_LOCK_MANAGER_OBJECT_TYPE_DAEMON" 2018-11-16 13:42:39 +01:00
lock_driver.h Drop UML driver 2018-12-17 17:52:46 +01:00
lock_manager.c Revert "lock_manager: Allow disabling configFile for virLockManagerPluginNew" 2018-11-16 13:42:39 +01:00
lock_manager.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00: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 locking: don't create qemu-sanlock.conf file when QEMU isn't enabled 2018-07-18 18:46:32 +01:00
sanlock_helper.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +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 Add support for locking based on SCSI volume ID 2012-12-13 15:26:58 +00:00
test_libvirt_sanlock.aug.in locking: Add io_timeout to sanlock 2015-11-18 10:56:56 +01:00
test_virtlockd.aug.in log: update docs for daemons to improve user understanding 2018-05-11 17:11:46 +01:00
virtlockd-admin.socket.in lockd: fix typo in virtlockd-admin.socket 2018-03-15 09:06:28 -06:00
virtlockd.aug rpc: remove remains of obsolete log_buffer_size config parameter 2018-03-23 10:44:35 +00:00
virtlockd.conf log: update docs for daemons to improve user understanding 2018-05-11 17:11:46 +01:00
virtlockd.init.in Fix LSB requirements in service script and sync them 2016-01-11 15:49:13 +01:00
virtlockd.pod Use https:// links for most sites 2017-10-16 10:22:34 +01:00
virtlockd.service.in lockd: add support for admin protocol in virtlockd 2018-01-31 15:18:36 +00:00
virtlockd.socket.in virtlockd: fix systemd unit file dependancies 2017-02-03 16:40:08 +00:00
virtlockd.sysconf Introduce basic infrastructure for virtlockd daemon 2012-12-13 15:26:57 +00:00