diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-11-12 18:05:07 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-11-12 18:05:07 -0800 |
commit | 04d9cd1224e5bc9d6146bab2866cdc81deb9b509 (patch) | |
tree | 18aae09ce471ce202e220cdb92d7f069e67e98a2 /drivers/target/target_core_pr.h | |
parent | 5e8e6b4b3adebf01a9d97056cbbfd8c44330df99 (diff) | |
download | blackbird-obmc-linux-04d9cd1224e5bc9d6146bab2866cdc81deb9b509.tar.gz blackbird-obmc-linux-04d9cd1224e5bc9d6146bab2866cdc81deb9b509.zip |
ib_isert: Avoid duplicate iscsit_increment_maxcmdsn call
This patch avoids a duplicate iscsit_increment_maxcmdsn() call for
ISER_IB_RDMA_WRITE within isert_map_rdma() + isert_reg_rdma_frwr(),
which will already be occuring once during isert_put_datain() ->
iscsit_build_rsp_pdu() operation.
It also removes the local conn->stat_sn assignment + increment,
and changes the third parameter to iscsit_build_rsp_pdu() to
signal this should be done by iscsi_target_mode code.
Tested-by: Moussa Ba <moussaba@micron.com>
Cc: <stable@vger.kernel.org> # v3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_pr.h')
0 files changed, 0 insertions, 0 deletions