sbin/hammer: Cleanup blocks with a single statement
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 9 Apr 2017 00:04:16 +0000 (03:04 +0300)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 9 Apr 2017 18:49:12 +0000 (21:49 +0300)
commit52e2f1b52011af14814bda6122c29e91ab740ce3
tree58c0615b33ba64b6af83faf3f7e0e572778a3dc8
parentd1958e1209d67aaebfce1a94de285a8aac592075
sbin/hammer: Cleanup blocks with a single statement

This commit basically does the same as what Linux kernel's coding
style mentions for braces, which is basically the same with BSDs.
https://github.com/torvalds/linux/blob/master/Documentation/process/coding-style.rst#3-placing-braces-and-spaces

No diff in sbin/hammer/hammer binary when assert(3) is disabled.
26 files changed:
sbin/hammer/blockmap.c
sbin/hammer/cache.c
sbin/hammer/cmd_abort.c
sbin/hammer/cmd_blockmap.c
sbin/hammer/cmd_cleanup.c
sbin/hammer/cmd_config.c
sbin/hammer/cmd_dedup.c
sbin/hammer/cmd_history.c
sbin/hammer/cmd_mirror.c
sbin/hammer/cmd_pfs.c
sbin/hammer/cmd_rebalance.c
sbin/hammer/cmd_reblock.c
sbin/hammer/cmd_recover.c
sbin/hammer/cmd_show.c
sbin/hammer/cmd_snapshot.c
sbin/hammer/cmd_softprune.c
sbin/hammer/cmd_stats.c
sbin/hammer/cmd_strip.c
sbin/hammer/cmd_synctid.c
sbin/hammer/cmd_version.c
sbin/hammer/cmd_volume.c
sbin/hammer/cycle.c
sbin/hammer/hammer.c
sbin/hammer/misc.c
sbin/hammer/ondisk.c
sbin/hammer/test_dupkey.c