tcm_fc: missing curly braces in ft_invl_hw_context()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 25 Feb 2015 13:21:03 +0000 (16:21 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 20 Mar 2015 06:26:41 +0000 (23:26 -0700)
commitd556546e7ecd9fca199df4698943024d40044f8e
treee065c1c6eb9dbf84d15c6309c9d16731093201fd
parent7544e597343e2166daba3f32e4708533aa53c233
tcm_fc: missing curly braces in ft_invl_hw_context()

This patch adds a missing set of conditional check braces in
ft_invl_hw_context() originally introduced by commit dcd998ccd
when handling DDP failures in ft_recv_write_data() code.

 commit dcd998ccdbf74a7d8fe0f0a44e85da1ed5975946
 Author: Kiran Patil <kiran.patil@intel.com>
 Date:   Wed Aug 3 09:20:01 2011 +0000

    tcm_fc: Handle DDP/SW fc_frame_payload_get failures in ft_recv_write_data

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Kiran Patil <kiran.patil@intel.com>
Cc: <stable@vger.kernel.org> # 3.1+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_io.c