[SCSI] libiscsi: have iscsi_data_in_rsp call iscsi_update_cmdsn
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 13 May 2009 22:57:42 +0000 (17:57 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 23 May 2009 20:44:10 +0000 (15:44 -0500)
commitedbc9aa0580c0aca96ac8d11bfb2defa81d91bb3
treec8ee53b24f853af3352083c0a6e0412ca5d407a2
parent8f9256cea10ca43ac80f66e176643eb41db34244
[SCSI] libiscsi: have iscsi_data_in_rsp call iscsi_update_cmdsn

This has iscsi_data_in_rsp call iscsi_update_cmdsn when a pdu is
completed like is done for other pdu's that are don.

For libiscsi_tcp, this means that it calls iscsi_update_cmdsn when
it is handling the pdu internally to only transfer data, but if there is
status then it does not need to call it since the completion handling
will do it.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/libiscsi.c
drivers/scsi/libiscsi_tcp.c