On Fri, Jul 25, 2014 at 04:00:19PM -0400, Martin K. Petersen wrote: > For bidirectional commands we need to be able to distinguish between the > in and out scsi_data_buffers when calculating the wire transfer length. > Make scsi_transfer_length() take a scsi_data_buffer argument so the > caller can choose which I/O direction the calculation should apply to. > > Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> Thanks, this looks good to me, Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html