]> err.no Git - linux-2.6/commit
[SCSI] iscsi: return data transfer residual for data-out commands
authorTony Battersby <tonyb@cybernetics.com>
Wed, 14 Nov 2007 20:38:43 +0000 (14:38 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 14 Nov 2007 20:52:16 +0000 (14:52 -0600)
commit6ee6a2f0258c064bbc64ad97dc195063457ebebe
treec2c00967dcb1c0f7724dbe40fda013ede6dba76a
parent505f76b3061f6e74a50f378e45ac931abc1fe784
[SCSI] iscsi: return data transfer residual for data-out commands

Currently, the iSCSI driver returns the data transfer residual for
data-in commands (e.g. read) but not data-out commands (e.g. write).
This patch makes it return the data transfer residual for both types of
commands.

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