Spdk/test/unit/lib
Daniel Verkamp 59970a89be astyle: enforce braces around single-line statements
Require braces around all conditional statements, e.g.:

    if (cond)
        statement();

becomes:

    if (cond) {
        statement();
    }

This is the style used through most of the SPDK code, but several
exceptions crept in over time.  Add the astyle option to make sure we
are consistent.

Change-Id: I5a71980147fe8dfb471ff42e8bc06db2124a1a7f
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/390914
Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-12-11 11:19:32 -05:00
..
bdev astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
blob blob: spdk_bs_destroy now only zeroes the super block 2017-12-06 17:21:46 -05:00
blobfs blobfs, tree: fix a bug in spdk_tree_insert_buffer 2017-08-15 16:36:41 -04:00
event ut/event: add fatal assert for allocation 2017-10-17 11:34:38 -04:00
ioat test: move IOAT library unit test to test/unit 2017-06-21 18:57:35 -04:00
iscsi astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
json test/json_util_ut: assert that string is valid 2017-07-12 18:13:23 -04:00
jsonrpc jsonrpc: allow asynchronous request completion 2017-07-12 12:10:31 -04:00
log log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvol blob: spdk_bs_destroy now only zeroes the super block 2017-12-06 17:21:46 -05:00
nvme log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
nvmf nvmf: close all the bdevs when delete subsystems. 2017-12-08 17:14:40 -05:00
scsi astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
util channel: Add spdk_for_each_thread 2017-11-28 15:29:35 -05:00
vhost vhost: Switch "Dev" keyword to "Target" 2017-12-08 09:25:49 -05:00
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00