Spdk/lib/iscsi
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
..
acceptor.c net/iscsi: change close() to spdk_sock_close() 2017-12-06 17:37:55 -05:00
acceptor.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
conn.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
conn.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
init_grp.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
init_grp.h iscsi: Remove gropu_state from IG and PG 2017-12-04 11:28:52 -05:00
iscsi_rpc.c rpc/iscsi: Dynamic reconfiguration of PG-IG maps 2017-12-07 12:28:02 -05:00
iscsi_subsystem.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
iscsi.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
iscsi.h iscsi: Make MaxQueueDepth configurable by config file 2017-12-07 11:45:08 -05:00
Makefile util: add CRC32 utility functions 2017-08-02 19:47:35 -04:00
md5.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
md5.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
param.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
param.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
portal_grp.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
portal_grp.h iscsi: Remove gropu_state from IG and PG 2017-12-04 11:28:52 -05:00
task.c iscsi: let task_pool use spdk_mempool related functions 2017-12-06 17:03:15 -05:00
task.h iscsi: change iscsi_bhs_scsi_req variable names. 2017-07-18 13:14:16 -04:00
tgt_node.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
tgt_node.h iscsi: Dynamic reconfiguration of PG-IG maps 2017-12-07 12:28:02 -05:00