From: Nicholas Bellinger Date: Wed, 13 Nov 2013 02:05:07 +0000 (-0800) Subject: ib_isert: Avoid duplicate iscsit_increment_maxcmdsn call X-Git-Tag: v3.13-rc1~5^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04d9cd1224e5bc9d6146bab2866cdc81deb9b509;p=pandora-kernel.git 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 Cc: # v3.10+ Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed